Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: Qt Creator 4.12.1
-
Fix Version/s: Qt Creator 4.13.0-beta1
-
Component/s: Documentation
-
Labels:None
-
Epic Link:
-
Commits:b176a24091142ee83fb7f710b992cc56007b0d9a (qt-creator/qt-creator/master)
-
Sprint: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