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

QML and openstreet maps

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.8.2
    • Fix Version/s: Qt Creator 4.9.0
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
    • Platform/s:
      Linux/X11
    • Commits:
      94d79ba3b5d61692e3d32962a7937068f62262df

      Description

      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
        }
      }
      

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes