Solved Googlemaps plugin
-
-
@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. -
Have you added this to your QML file?
(Version is of course your Qt version)import QtPositioning 5.14 import QtLocation 5.14
-
@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?
-
@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) -
@raven-worx Thank you.
I got it. I will ckeck and report the result here -
@raven-worx I have an other question.
which directory should i copy the built plugin after building ? in qt plugins directory? -
@Naser-0
copy it to<QTDIR>/plugins/geoservices
The .pro file has an install target specified which also copies it there -
@raven-worx thank you so much
I will check and report the result -
@raven-worx thank you so much.
i solved my problem with your solution.