Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0
-
None
-
77a20c00e (dev), c4e64d082 (6.8)
Description
Hi,
If the imported file is lowercase, root object is found but not the inline object, it works if filename starts with an uppercase.
Attached is an example. the cmake project does run fine as InlineComp.qml starts with uppercase
The qmake project fails as using inlineComp.qml
If I amend the file name with uppercase and modify the qmldir accordingly, it works.
This should work in any case as the qmldir contains InlineComp 6.8 inlineComp.qml, so the component name InlineComp starting with uppercase should suffice.
Instead I am getting the error "Type InlineComp has no inline component type called Test"
Attachments
Issue Links
- duplicates
-
QTBUG-131394 Type assertions don't work properly for inline components
- Closed