[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/71: build: qt-utils: Use QML_IMPORT_PATH for Qt 6.
From: |
guix-commits |
Subject: |
26/71: build: qt-utils: Use QML_IMPORT_PATH for Qt 6. |
Date: |
Sun, 31 Mar 2024 21:57:28 -0400 (EDT) |
apteryx pushed a commit to branch qt-team
in repository guix.
commit d3ed8ecadb0bf70177b373ae62044c6fbfd75c52
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Mar 23 00:31:25 2024 -0400
build: qt-utils: Use QML_IMPORT_PATH for Qt 6.
* guix/build/qt-utils.scm (variables-for-wrapping): Use QML_IMPORT_PATH
instead of QML2_IMPORT_PATH when the major version is greater or equal to 6.
Change-Id: I3480b540d3c0caafd3cc3d6574442dc97f540953
---
guix/build/qt-utils.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/guix/build/qt-utils.scm b/guix/build/qt-utils.scm
index 7d1b0e0e23..8962c0edb8 100644
--- a/guix/build/qt-utils.scm
+++ b/guix/build/qt-utils.scm
@@ -3,8 +3,7 @@
;;; Copyright © 2019, 2020, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
-;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022, 2023, 2024 Maxim Cournoyer
<maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;;
;;; This file is part of GNU Guix.
@@ -90,8 +89,10 @@
'("XDG_CONFIG_DIRS" suffix directory "/etc/xdg")
`("QT_PLUGIN_PATH" prefix directory
,(format #f "/lib/qt~a/plugins" qt-major-version))
- `("QML2_IMPORT_PATH" prefix directory
- ,(format #f "/lib/qt~a/qml" qt-major-version))
+ `(,(if (>= 6 (string->number qt-major-version))
+ "QML_IMPORT_PATH"
+ "QML2_IMPORT_PATH")
+ prefix directory ,(format #f "/lib/qt~a/qml" qt-major-version))
;; QTWEBENGINEPROCESS_PATH accepts a single value, which makes 'exact the
;; most suitable environment variable type for it.
`("QTWEBENGINEPROCESS_PATH" = regular
- 03/71: gnu: qtsvg: Update to 6.6.2., (continued)
- 03/71: gnu: qtsvg: Update to 6.6.2., guix-commits, 2024/03/31
- 01/71: gnu: qtbase: Update to 6.6.2., guix-commits, 2024/03/31
- 05/71: gnu: qtdeclarative: Update to 6.6.2., guix-commits, 2024/03/31
- 11/71: gnu: qtlanguageserver: Update to 6.6.2., guix-commits, 2024/03/31
- 12/71: gnu: qtlottie: Update to 6.6.2., guix-commits, 2024/03/31
- 15/71: gnu: qtpositioning: Update to 6.6.2., guix-commits, 2024/03/31
- 16/71: gnu: qtnetworkauth: Update to 6.6.2., guix-commits, 2024/03/31
- 17/71: gnu: qtremoteobjects: Update to 6.6.2., guix-commits, 2024/03/31
- 21/71: gnu: Add qtsensors., guix-commits, 2024/03/31
- 23/71: gnu: Add qtspeech., guix-commits, 2024/03/31
- 26/71: build: qt-utils: Use QML_IMPORT_PATH for Qt 6.,
guix-commits <=
- 27/71: gnu: qtbase: Have qmlimportscanner honor QML_IMPORT_PATH., guix-commits, 2024/03/31
- 29/71: gnu: qtbase: Disable the tst_qxmlstream test on powerpc64-le., guix-commits, 2024/03/31
- 06/71: gnu: qtwebsockets: Update to 6.6.2., guix-commits, 2024/03/31
- 09/71: gnu: qtwayland: Update to 6.6.2., guix-commits, 2024/03/31
- 14/71: gnu: qttranslations: Update to 6.6.2., guix-commits, 2024/03/31
- 20/71: gnu: qtsensors: Rename package to qtsensors-5., guix-commits, 2024/03/31
- 36/71: gnu: Add qthttpserver., guix-commits, 2024/03/31
- 22/71: gnu: qtspeech: Rename package to qtspeech-5., guix-commits, 2024/03/31
- 25/71: gnu: qtscxml: Update to 6.6.2., guix-commits, 2024/03/31
- 28/71: gnu: qtbase: Replace QML2_IMPORT_PATH with QML_IMPORT_PATH., guix-commits, 2024/03/31