Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
Qt Creator 14.0.2
-
None
-
-
5c3cb2439 (dev), 9cde1af71 (6.9), b254a8fcd (6.8)
Description
With the Change to QtC 14.0.2
When you import a custom module the lsp doesn't seem to be able to resolve the namespace resulting in tons of `Type X is used but it is not resolved [unresolved-type]`
and `Unqualified access: parent is a member of a parent element. You can qualify the access with its id to avoid this warning. [unqualified]` annotations.
The code completion therefore doesn't work at all for those objects as well.
Same is true for context properties set in the main.cpp
The file compiles/parses fine and is run without a problem, once the program is launched
This used to work perfectly fine in 14.0.1
Attachments
Issue Links
- depends on
-
QTCREATORBUG-31897 simplify qmlls setup / make it work out of the box
- In Progress
- relates to
-
QTCREATORBUG-31928 Declare an Enum in .qml file but the QtCreator has no auto-completion when using the enum
- Open
-
QTBUG-129991 QML singletons error without manually creating qmldir file
- Closed
-
QTBUG-125070 Let's talk about the context properties in QML
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-31823 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
609543,8 | qmlls: hint to QT_QML_GENERATE_QMLLS_INI on import failures | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
610956,2 | qmlls: hint to QT_QML_GENERATE_QMLLS_INI on import failures | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
611156,2 | qmlls: hint to QT_QML_GENERATE_QMLLS_INI on import failures | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |