[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/51: build: qt-utils: Revert setting QT_PLUGIN_PATH exactly.
From: |
guix-commits |
Subject: |
19/51: build: qt-utils: Revert setting QT_PLUGIN_PATH exactly. |
Date: |
Tue, 28 Mar 2023 20:20:21 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit e4ef2db8fda85a469a6fc89bf3c46c9d7e8d44ea
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Mar 27 15:07:03 2023 -0400
build: qt-utils: Revert setting QT_PLUGIN_PATH exactly.
Fixes <https://issues.guix.gnu.org/57742>.
The documentation of Qt states that it is a supported use case to mix Qt 5
and
Qt 6 plugins in QT_PLUGIN_PATH [0]. This reverts the change to
QT_PLUGIN_PATH
introduced in 1f466ed6be9 ("build: qt: Add qtbase argument and wrap Qt
environment variables exactly.").
[0]
https://doc.qt.io/qt-6.2/deployment-plugins.html#loading-and-verifying-plugins-dynamically
* guix/build/qt-utils.scm (variables-for-wrapping): Wrap QT_PLUGIN_PATH
using
the prefix method.
---
guix/build/qt-utils.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/guix/build/qt-utils.scm b/guix/build/qt-utils.scm
index 2e47f1bc02..7f503320d2 100644
--- a/guix/build/qt-utils.scm
+++ b/guix/build/qt-utils.scm
@@ -4,6 +4,7 @@
;;; 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 Brendan Tildesley <mail@brendan.scot>
;;;
;;; This file is part of GNU Guix.
@@ -87,9 +88,7 @@
"/applications" "/cursors" "/fonts" "/icons" "/glib-2.0/schemas"
"/mime" "/sounds" "/themes" "/wallpapers")
'("XDG_CONFIG_DIRS" suffix directory "/etc/xdg")
- ;; We wrap exactly to avoid potentially mixing Qt5/Qt6 components, which
- ;; would cause warnings, perhaps problems.
- `("QT_PLUGIN_PATH" = directory
+ `("QT_PLUGIN_PATH" prefix directory
,(format #f "/lib/qt~a/plugins" qt-major-version))
`("QML2_IMPORT_PATH" = directory
,(format #f "/lib/qt~a/qml" qt-major-version))
- 35/51: gnu: qtwebglplugin: Update to 5.15.8., (continued)
- 35/51: gnu: qtwebglplugin: Update to 5.15.8., guix-commits, 2023/03/28
- 38/51: gnu: qttools-5: Update to 5.15.8., guix-commits, 2023/03/28
- 40/51: gnu: qtquickcontrols-5: Update to 5.15.8., guix-commits, 2023/03/28
- 48/51: gnu: qtnetworkauth-5: Update to 5.15.8., guix-commits, 2023/03/28
- 50/51: gnu: qtspeech: Update to 5.15.8., guix-commits, 2023/03/28
- 03/51: gnu: gstreamer-docs: Update to 1.22.1., guix-commits, 2023/03/28
- 11/51: gnu: webkitgtk: Update to 2.40.0., guix-commits, 2023/03/28
- 14/51: gnu: ffmpeg: Add a debug output., guix-commits, 2023/03/28
- 16/51: gnu: jami: Update to 20230323.0., guix-commits, 2023/03/28
- 18/51: gnu: Remove libcanberra/gtk+-2., guix-commits, 2023/03/28
- 19/51: build: qt-utils: Revert setting QT_PLUGIN_PATH exactly.,
guix-commits <=
- 20/51: gnu: qtbase-5: Update to 5.15.8., guix-commits, 2023/03/28
- 23/51: gnu: qtimageformats: Update to 5.15.8., guix-commits, 2023/03/28
- 30/51: gnu: qtmultimedia-5: Update to 5.15.8., guix-commits, 2023/03/28
- 32/51: gnu: qtserialport: Update to 5.15.8., guix-commits, 2023/03/28
- 34/51: gnu: qtwebchannel-5: Update to 5.15.8., guix-commits, 2023/03/28
- 51/51: gnu: qtwebengine-5: Update to 5.15.8., guix-commits, 2023/03/28
- 33/51: gnu: qtserialbus: Update to 5.15.8., guix-commits, 2023/03/28
- 37/51: gnu: qtlocation: Update to 5.15.5., guix-commits, 2023/03/28
- 39/51: gnu: qtscript: Update to 5.15.8., guix-commits, 2023/03/28
- 41/51: gnu: qtquickcontrols2-5: Update to 5.15.8., guix-commits, 2023/03/28