Details
-
Type:
Task
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 6.5.0 Beta1, 6.5
-
Component/s: QML: Tooling
-
Labels:
-
Epic Link:
-
Commits:6aad465f08 (qt/qtdeclarative/dev) 6aad465f08 (qt/tqtc-qtdeclarative/dev)
Description
We should add an option (RESOURCE_PREFIX auto) to qt_add_qml_module that sets the RESOURCE_PREFIX to /user.qt-project.org/imports. This prefix should then be added to the QML import path. This way we can easily identify well-behaved modules in their respective .qrc files. Furthermore we don't need to pollute the global .qrc namespace anymore. Modules the neither set a specific RESOURCE_PREFIX nor does "RESOURCE_PREFIX auto" should generate a warning at compile time.
Attachments
Issue Links
- relates to
-
QTBUG-104554 Revisit our story about the default qml import path for macOS app bundles
-
- Reported
-
-
QTBUG-95145 Facilitate automatic addition of a project specific qml import path to the qml engine using CMake
-
- Closed
-