Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
Description
qmlls does not currently work out-of-the-box.
Current behaviour
Suppose a user uses "File" > "New Project" > "Application (Qt)" > "Qt Quick Application" to create a new project called "MyProject", and then they simply add "import MyProject" to the auto-generated Main.qml file. qmlls will fail to recognize the import and emit bogus warnings.
To further complicate things, qmlls is only used for projects that use Qt 6.8 or newer by default.
Confusions caused
There have been multiple cases where users wondered what they're doing wrong in their project, and/or what changed between Qt 6.7 and Qt 6.8. Even though there's nothing wrong with their project.
Workarounds
Users could either
- Enable .qmlls.ini, OR
- Disable qmlls
Suggestion
The workarounds above would not be easy for newcomers to find. It would be preferable to only enable qmlls after it works out-of-the-box (QTCREATORBUG-31897 )
Attachments
Issue Links
- relates to
-
QTCREATORBUG-31897 simplify qmlls setup / make it work out of the box
- Closed