Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 13.0.0-rc1
-
None
Description
I have a MyComponent.qml file that defines an inline component:
component Button : Rectangle {}
If I use this inline component from main.qml:
MyComponent.Button {}
Qt Creator will issue an error in the text editor on the same line where the component is used:
Unknown component
The application builds and runs fine otherwise.
Since Qt Creator fails to resolve inline components used this way, it also fails to give code completion support etc for those components.
I have attached a small project that can be opened in Qt Creator, and that will demonstrate this issue.