Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.4.2
-
None
-
Ubuntu 20.04 . GNU 9.4.0. x86_64. Qt 6.4.2 Opensource Static
-
-
ba092a525 (dev), 1827f2870 (6.5)
Description
I have built a static build of Qt 6.4.2 with the following options :
{{../qt6/configure -static -prefix /home/rnayabed/qt/qt-6.4.2-static -skip }}
{{qtcharts,qtlottie,qtrepotools,qtwebchannel,qtcoap,qtmqtt,qtscxml, }}
{{qtwebengine,qtconnectivity,qtmultimedia,qtsensors,qtwebglplugin,qtdatavis3d,qtnetworkauth, }}
{{qtserialbus,qtwebsockets,qtopcua,qtserialport,qtwebview,qtdoc,qtpim,qtxmlpatterns,qtfeedback, }}
{{qtpositioning,qtspeech,qtgamepad,qtqa,qt3d,qtgrpc,qtsystems,qt5compat,qthttpserver,qtquick3dphysics, }}
{{qtactiveqt,qtimageformat,qtlanguageserver,qtquicktimeline,qtvirtualkeyboard,qtcanvas3d,qtlocation, }}
{{qtremoteobjects }}
-release
Unless there is a mention of
QtQuick.Layouts
in the QML Imports, the qml import scanner wont pick it up as dependency of ColorDialog, and hence you will get the following error:
QML ColorDialog: Failed to load non-native ColorDialog implementation:
qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/ColorDialog.qml:11 module "QtQuick.Layouts" is not installed
I have attached a sample CMake project as a reproducible example. It will fail when built using a static Qt 6.4.2 build.
Unless
"import QtQuick.Layouts"
{{ is added to the main.qml file}}