Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. unable to load a route with mapViewer example on QT5.6

unable to load a route with mapViewer example on QT5.6

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Lulu31L Offline
    Lulu31L Offline
    Lulu31
    wrote on last edited by
    #1

    Re: [SOLVED]load gps map view
    I used an example from QT which is mapviewer in QT 5.6 but it is not working.
    I mean I can't load a route if I enter a fromLatitude , fromLongitude, toLatitude and toLongitude.
    I added logs and I see that the status of my routeModel is not ready but error and exactly undefined error.
    I am working on ubuntu 14.04.
    Do you have same problem than me ?

    If I look on the application output, I can see 2 warnings but I am not sure it is the cause :
    -qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
    -qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method

    Do you think it could be the cause of the error ? If Yes, how to correct it ? Perhaps it is a problem with a proxy ?

    Thank you in advance for your answer.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi!
      The RouteModel QML type has an error property and an errorString property, see here. What error do they report?

      1 Reply Last reply
      1
      • Lulu31L Offline
        Lulu31L Offline
        Lulu31
        wrote on last edited by
        #3

        Hello,

        both error property and errorString property are undefined.
        That's why I can't figure it out. I don't knew how to resolve a problem as undefined.
        I tried the mapviewer in my personal computer too which is windows 64 bits and I have the same problem.

        Thank you for your answer.

        1 Reply Last reply
        0
        • Lulu31L Offline
          Lulu31L Offline
          Lulu31
          wrote on last edited by
          #4

          Sorry I made a mistake, I can see the error code 2 : host is not accessible.

          An idea to resolve it ?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            As silly as it may sound: fix your network ? More seriously, check that the map data provider is online.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • Lulu31L Offline
              Lulu31L Offline
              Lulu31
              wrote on last edited by
              #6

              Hi,

              I resolved it. It was because of a proxy.
              Thank you for your help

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Good !

                Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

                You have to first turn this thread into a question (again the Topic Tool button under the first post)

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved