-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
// MapType.qml pragma Singleton import QtQml QtObject { readonly property int map: 1 }
// Main.qml import QtLocation QtObject { // MapType from MapType.qml above is in implicit import // but MapType from QtLocation takes precedence property int mapType: MapType.map }
qmllint could warn the user about such a situation where they might not realize that QtLocation exposes a type called MapType that hides their own type of the same name.