Subject: [bug#72835] [PATCH qt-team 23/38] gnu: qt-creator: Update to 14.0.1.

From: Zheng Junjie <[email-masked]>
Date: Wed, 28 Aug 2024 00:25:31 +0800

* gnu/packages/qt.scm (qt-creator): Update to 14.0.1.
[source]: Adjust snippet.
[arguments]<#:phases>: adjust patch-paths phase.

Change-Id: Ideafcf3a7c0ce9c85025472d41fb72527cc4b9fb
---
 gnu/packages/qt.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index bf7eaa8546..f322b02d91 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -5550,7 +5550,7 @@ (define-public clazy
 (define-public qt-creator
   (package
     (name "qt-creator")
-    (version "12.0.2")
+    (version "14.0.1")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -5567,13 +5567,17 @@ (define-public qt-creator
                              ;; Marketplace recommends nonfree extensions;
                              ;; remove it.
                              "src/plugins/marketplace"))
+                          (mkdir-p "src/libs/3rdparty/yaml-cpp")
+                          (call-with-output-file "src/libs/3rdparty/yaml-cpp/LICENSE"
+                            (lambda (port)
+                              (const #t)))
                           (substitute* "src/plugins/CMakeLists.txt"
                             (("add_subdirectory\\(marketplace).*") ""))
                           (substitute* "src/plugins/plugins.qbs"
                             ((".*marketplace/marketplace.qbs.*") ""))))
               (sha256
                (base32
-                "1lgk547pvg31zzqra7gn9gsszm5wrwxiw06crbr5n2kqfavk9r22"))))
+                "0zc9z4zzypqd1q49p4ckwbgxqcnnsc11jgsys6wli1ppmvzmn2zn"))))
     (outputs '("out" "debug"))
     (build-system qt-build-system)
     (arguments
@@ -5623,7 +5627,7 @@ (define-public qt-creator
                              "src/libs/utils/deviceshell.cpp")
                 (("/bin/sh")
                  (search-input-file inputs "bin/sh")))
-              (substitute* "src/libs/utils/process.cpp"
+              (substitute* "src/libs/utils/qtcprocess.cpp"
                 (("/usr/bin/env")
                  (search-input-file inputs "bin/env")))
               (substitute* '("tests/auto/utils/process/tst_process.cpp"
-- 
2.45.2