Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.2.4, 6.3.1
-
None
Description
I have 2 StyleHelper.qml files - a base one and a specific one for the Material style:
find . | grep StyleHelper ./+Material/StyleHelper.qml ./StyleHelper.qml
And both are added to a QML module in CMakeLists.txt
qt_add_qml_module(mobile_module ... QML_FILES StyleHelper.qml +Material/StyleHelper.qml ...
qmllint does however not like this at all:
Warning: mobile/AboutDialog.qml: Warnings occurred while importing base modules:
---
Warning: Ambiguous type detected. StyleHelper 1.0 is defined multiple times.
Warning: Ambiguous type detected. StyleHelper 1.0 is defined multiple times.
---
the generated qmldir contains:
... StyleHelper 1.0 StyleHelper.qml StyleHelper 1.0 +Material/StyleHelper.qml ...
Attachments
Issue Links
- is duplicated by
-
QTBUG-104581 qmltc does not like Selectors
- Closed