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. Googlemaps plugin

Googlemaps plugin

Scheduled Pinned Locked Moved Solved General and Desktop
11 Posts 3 Posters 1.2k Views
  • 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.
  • N Offline
    N Offline
    Naser 0
    wrote on 6 Feb 2020, 20:01 last edited by Naser 0 5 Aug 2020, 07:53
    #1

    Hello every body.
    I am developing a qml project that in that want to track a car motion on my map.I want to use googlemap plugin in my map object.
    I searched a lot and relized that there is no official plugin for googlemap in the qt.
    I found an implmentation of googlemaps for qt in this link :
    https://github.com/vladest/googlemaps
    But i have no any idea about using it.
    Can you guid me to add this plugin to my qt project?

    P 1 Reply Last reply 7 Feb 2020, 00:10
    0
    • N Naser 0
      6 Feb 2020, 20:01

      Hello every body.
      I am developing a qml project that in that want to track a car motion on my map.I want to use googlemap plugin in my map object.
      I searched a lot and relized that there is no official plugin for googlemap in the qt.
      I found an implmentation of googlemaps for qt in this link :
      https://github.com/vladest/googlemaps
      But i have no any idea about using it.
      Can you guid me to add this plugin to my qt project?

      P Offline
      P Offline
      Pl45m4
      wrote on 7 Feb 2020, 00:10 last edited by Pl45m4 2 Jul 2020, 00:12
      #2

      @Naser-0

      You asked a question on GitHub about a missing QtLocation module, right?

      How to import the QtLocation module is shown here.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      1
      • N Offline
        N Offline
        Naser 0
        wrote on 7 Feb 2020, 09:07 last edited by
        #3

        @Pl45m4 yeah .i asked similar question in github.
        i imported QtLocation in my project(QT += location) but when i run my project it says that (QtLocation/private/qgeotiledmap_p.h: No such file or directory).
        i dont know what is my problem.

        P 1 Reply Last reply 7 Feb 2020, 11:03
        0
        • N Naser 0
          7 Feb 2020, 09:07

          @Pl45m4 yeah .i asked similar question in github.
          i imported QtLocation in my project(QT += location) but when i run my project it says that (QtLocation/private/qgeotiledmap_p.h: No such file or directory).
          i dont know what is my problem.

          P Offline
          P Offline
          Pl45m4
          wrote on 7 Feb 2020, 11:03 last edited by
          #4

          @Naser-0

          Have you added this to your QML file?
          (Version is of course your Qt version)

          import QtPositioning 5.14
          import QtLocation 5.14
          

          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          1
          • N Offline
            N Offline
            Naser 0
            wrote on 7 Feb 2020, 16:29 last edited by Naser 0 2 Jul 2020, 16:30
            #5

            @Pl45m4 no i had not add this modules. My problem is about the adding googlemap plugin to qt. somebody told me that i should firstly compile this plugin.but i dont know how to do it.can you help me?

            R 1 Reply Last reply 7 Feb 2020, 18:12
            0
            • N Naser 0
              7 Feb 2020, 16:29

              @Pl45m4 no i had not add this modules. My problem is about the adding googlemap plugin to qt. somebody told me that i should firstly compile this plugin.but i dont know how to do it.can you help me?

              R Offline
              R Offline
              raven-worx
              Moderators
              wrote on 7 Feb 2020, 18:12 last edited by raven-worx 2 Jul 2020, 18:13
              #6

              @Naser-0
              open the .pro file with QtCreator and build it (with the same Qt kit and release/debug mode you want to use it with)

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              3
              • N Offline
                N Offline
                Naser 0
                wrote on 7 Feb 2020, 20:23 last edited by Naser 0 2 Jul 2020, 20:23
                #7

                @raven-worx Thank you.
                I got it. I will ckeck and report the result here

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  Naser 0
                  wrote on 7 Feb 2020, 20:37 last edited by
                  #8

                  @raven-worx I have an other question.
                  which directory should i copy the built plugin after building ? in qt plugins directory?

                  R 1 Reply Last reply 7 Feb 2020, 23:11
                  0
                  • N Naser 0
                    7 Feb 2020, 20:37

                    @raven-worx I have an other question.
                    which directory should i copy the built plugin after building ? in qt plugins directory?

                    R Offline
                    R Offline
                    raven-worx
                    Moderators
                    wrote on 7 Feb 2020, 23:11 last edited by raven-worx 2 Jul 2020, 23:12
                    #9

                    @Naser-0
                    copy it to <QTDIR>/plugins/geoservices
                    The .pro file has an install target specified which also copies it there

                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                    If you have a question please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    2
                    • N Offline
                      N Offline
                      Naser 0
                      wrote on 8 Feb 2020, 09:13 last edited by
                      #10

                      @raven-worx thank you so much
                      I will check and report the result

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        Naser 0
                        wrote on 9 Feb 2020, 17:59 last edited by Naser 0 2 Sept 2020, 18:00
                        #11

                        @raven-worx thank you so much.
                        i solved my problem with your solution.

                        1 Reply Last reply
                        0

                        8/11

                        7 Feb 2020, 20:37

                        • Login

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