[Buildroot] [PATCH v5 2/6] package/qt6: add QT6_QT_CONF_FIXUP hook
Dario Binacchi
dario.binacchi at amarulasolutions.com
Tue Sep 8 14:12:49 UTC 2026
With per-package directories, qt.conf is generated at qt6base install
time and holds the paths of the qt6base per-package host directory.
Add a hook to regenerate it with the paths of the package being built,
as QT5_QT_CONF_FIXUP does for Qt5. The qmake infrastructure will use it.
Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
---
Added in v5 (it was part of patch 1 up to v3)
package/qt6/qt6.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/qt6/qt6.mk b/package/qt6/qt6.mk
index bcf735c19e3b..5024544d9b81 100644
--- a/package/qt6/qt6.mk
+++ b/package/qt6/qt6.mk
@@ -22,5 +22,11 @@ define QT6_INSTALL_QT_CONF
$(QT6BASE_PKGDIR)/qt.conf.in > $(HOST_DIR)/bin/qt.conf
endef
+ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y)
+define QT6_QT_CONF_FIXUP
+ $(QT6_INSTALL_QT_CONF)
+endef
+endif
+
# Variable for other Qt applications to use
QT6_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++
--
2.43.0
More information about the buildroot
mailing list