Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.0
-
cc4688232 (dev)
Description
Qt Creator's qmlls integration currently does not support multi-module projects. It says:
qmlls could not find a build directory, without a build directory containing a current build there could be spurious warnings, you might want to pass the --build-dir <buildDir> option to qmlls, or set the environment variable QMLLS_BUILD_DIRS.
Consequently, qmlls cannot find and import the project modules.
Workaround
- Disable qmlls, OR
- Set the environment variable QMLLS_BUILD_DIRS before launching Qt Creator (only feasible if the user is not working on multiple projects simultaneously)
Attachments
Issue Links
- relates to
-
QTCREATORBUG-29407 Make QtCreator ready for latest qmlls features
- Closed
For Gerrit Dashboard: QTBUG-120032 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
495779,12 | cmake: add option to generate .qmlls.ini files | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |