package/qt6/qt6base: fix missing plugins and qml2 imports
When using the default value "." for of ArchData, qt6-applications that require QML2 imports or plugins, will not run: In my case the wayland-egl platform plugin is not found: qt.qpa.plugin: Could not find the Qt platform plugin "wayland-egl" in "" And I also get a lot of qml related warnings: qrc:/qml/main.qml:3:1: module "QtQuick.Layouts" is not installed Prior to this fix, we had to set the QML2_IMPORT_PATH and QT_PLUGIN_PATH or make sure qt.conf is available. After this fix, ArchData starts with "lib", which is necessary (according to my own experiments) for qt6-applications to find plugins and qml2 imports. The root cause is still unknown, but I think the current solution is sufficient. Setting ArchData to "lib/qt6" is also a good first step towards a better qt6 filesystem layout. I will continue improving the qt6 filesystem layout in a later patch. Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
009f9106d9
commit
246763308b
@@ -42,6 +42,7 @@ QT6BASE_INSTALL_STAGING = YES
|
||||
|
||||
QT6BASE_CONF_OPTS = \
|
||||
-DQT_HOST_PATH=$(HOST_DIR) \
|
||||
-DINSTALL_ARCHDATADIR=lib/qt6 \
|
||||
-DFEATURE_concurrent=OFF \
|
||||
-DFEATURE_xml=OFF \
|
||||
-DFEATURE_sql=OFF \
|
||||
|
||||
Reference in New Issue
Block a user