Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0 Beta
-
None
-
-
declarative: 3ec6520117ffde0dfa2e029ca3214986506c54d8 564c1038d1645d76004ad93651aa392d71d45490 b9f143945982ae1775c69b9a09dc5e3912a17324; qtquickcontrols: d8b9259b90e3d51f96e0436001edc5ac20854f14
Description
When running the gallery example in the latest Qt 5.4.0 beta package, you get the following errors:
W/Qt ( 1965): qml\qqmlapplicationengine.cpp:126 (void QQmlApplicationEnginePrivate::_q_finishLoad(QObject*)): qrc:/main.qml:68 Type FileDialog unavailable W/Qt ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:48 module "Qt.labs.folderlistmodel" is not installed W/Qt ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:49 module "Qt.labs.settings" is not installed W/Qt ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:48 module "Qt.labs.folderlistmodel" is not installed W/Qt ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:49 module "Qt.labs.settings" is not installed
This should be automatic since qmlimportscanner is used to detect dependencies, but for some reason it does not work. Adding these imports to the main.qml is a workaround, so it looks like qmlimportscanner is failing to detect the dependencies of DefaultFileDialog.qml (which is probably dynamically selected.)
Attachments
Issue Links
- is required for
-
QTBUG-41613 Issues to be fixed before 5.4.0 RC
- Closed
For Gerrit Dashboard: QTBUG-41489 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
95708,6 | qmldir parser: add support for "depends component version" syntax | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
95816,6 | qmlimportscanner: parse "depends" lines in qmldir files | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
96075,2 | QtQuick.Dialogs depends on Qt.labs.folderlistmodel, Qt.labs.settings | 5.4 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |
96078,3 | documentation for qmldir "depends" declaration | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |