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
Forum Updated to NodeBB v4.3 + New Features

Googlemaps plugin

Scheduled Pinned Locked Moved Solved General and Desktop
11 Posts 3 Posters 1.3k 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.
  • N Offline
    N Offline
    Naser 0
    wrote on last edited by Naser 0
    #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?

    Pl45m4P 1 Reply Last reply
    0
    • N Naser 0

      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?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #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 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.

        Pl45m4P 1 Reply Last reply
        0
        • N Naser 0

          @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.

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on 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 last edited by Naser 0
            #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?

            raven-worxR 1 Reply Last reply
            0
            • N Naser 0

              @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?

              raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by raven-worx
              #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 last edited by Naser 0
                #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 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?

                  raven-worxR 1 Reply Last reply
                  0
                  • N Naser 0

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

                    raven-worxR Offline
                    raven-worxR Offline
                    raven-worx
                    Moderators
                    wrote on last edited by raven-worx
                    #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 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 last edited by Naser 0
                        #11

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

                        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