Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.5
-
None
Description
When using QtLocation (dev branch) with Qt 6.5.0 (dev shipped with Maintenance tool) qmlint returns a lot of errors:
import QtQuick import QtLocation import QtPositioning Map { id: map Plugin { id: mapPlugin } MapPolygon { id: polygon color: 'blue' } MapItemView { } }
Warning: CustomMapDrawingDialog.qml: QQuickItem was not found. Did you add all import paths? [import] Info: Did you mean "MapQuickItem"? Warning: CustomMapDrawingDialog.qml:15:1: 'Map' is used but it is not resolved [unresolved-type] Map { ^^^ Warning: CustomMapDrawingDialog.qml:66:5: 'MapPolygon' is used but it is not resolved [unresolved-type] MapPolygon { ^^^^^^^^^^ Warning: CustomMapDrawingDialog.qml:74:5: 'MapItemView' is used but it is not resolved [unresolved-type] MapItemView { ^^^^^^^^^^^ Warning: CustomMapDrawingDialog.qml: Object type QDeclarativeGeoMap is not derived from QObject or QQmlComponent. You may need to fully qualify all names in C++ so that moc can see them. You may also need to add qt_extract_metatypes(<target containing QQuickItem>). [compiler]