Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22165

QML and openstreet maps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 4.9.0
    • Qt Creator 4.8.2
    • Debugger
    • None
    • Linux/X11
    • 94d79ba3b5d61692e3d32962a7937068f62262df

      I was building small Qt Widget application and trying to integrate QQuickWidget and display simple open street maps sample from older Qt Books ( Packt - Handson GUI Programming with C++ and Qt5.pdf page 173 ). I am attaching crash file I got fromĀ apport and also error message from Qt Creator Application Output

      21:01:44: Debugging starts
      QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("http://maps-redirect.qt.io/osm/5.8/street")
        OpenType support missing for "Ubuntu", script 11
      QGeoTileProviderOsm: Tileserver disabled at  QUrl("http://maps-redirect.qt.io/osm/5.8/satellite")
      QGeoTileFetcherOsm: all providers resolved
      21:03:14: Debugging has finished
      

      Here is contents of qml file that is displayed in QQuickWidget. The map shows up but when clicking on it and trying to pan around I get that error.

      Item
      {
        Plugin
        {
          id: mapPlugin
          name: "osm"
        }
      
        Map
        {
           id: map
           anchors.fill: parent
           plugin: mapPlugin
           center: QtPositioning.coordinate(40.7264175,-73.99735)
           zoomLevel: 14
        }
      }
      

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

            hjk hjk
            oxoocoffee Robert J. Gebis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes