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

QML and openstreet maps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.9.0
    • Qt Creator 4.8.2
    • Debugger
    • None
    • Linux/X11
    • 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

        1. _opt_QtCreator_latest_libexec_qtcreator_qml2puppet.1000.crash
          3.22 MB
          Robert J. Gebis
        2. QTBUG-74177.tar.gz
          679 kB
          Robert J. Gebis

        Issue Links

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

          Activity

            People

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