Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.12.1
-
None
-
b176a24091142ee83fb7f710b992cc56007b0d9a (qt-creator/qt-creator/master)
-
Da Vinci sprint 10
Description
https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html explains how to convert .qmlproject to .pro projects.
It's explicitly shown, how to add additional QML import paths in C++, but for the .pro file it is just mentioned that the QML_IMPORT_PATH variable is created. The documentation would be more explicit, if the same example path, used for addImportPaths(), would be used for QML_IMPORT_PATHS as well.
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH = qml/imports
Attachments
For Gerrit Dashboard: QTCREATORBUG-24081 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
302623,2 | Doc: Add example code for specifying QML import paths | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |