Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
2382a5e8e917013725977b37bbe227d9a19b1d39 (qbs/qbs/master)
Description
https://codereview.qt-project.org/c/qt/qtdeclarative/+/290315/3/src/qml/doc/src/qmlfunctions.qdoc adds support for declaring a QML import in a .pro file in Qt 5.15:
You can use the build system to register the type in the type namespace
"com.mycompany.qmlcomponents" with major version \c 1 by specifying the
following in your project file:CONFIG += qmltypes QML_IMPORT_NAME = com.mycompany.qmlcomponents QML_IMPORT_MAJOR_VERSION = 1
Presumably Qbs will need to support this functionality to allow users to have control over the name of their QML modules.
Attachments
For Gerrit Dashboard: QBS-1531 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
293007,3 | Qt support: Add support for moc metatype files | master | qbs/qbs | Status: MERGED | +2 | +1 |
293160,3 | Qt: Add support for the new QML type registration mechanism | master | qbs/qbs | Status: MERGED | +2 | +1 |