Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108173

QtLocation qmlint support

    XMLWordPrintable

Details

    • All

    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]
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            Harald Meyer Harald Meyer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes