Closed nouah closed 3 years ago
thank you I found the problem is to put google api keyPluginParameter
Plugin {
id: googlemaps
name: "googlemaps"
PluginParameter {
name:"Keys"
value:"google key API"
}
}
afterwards I found problem with
QSslSocket: cannot resolve CRYPTO_num_locks
QSslSocket: cannot resolve CRYPTO_set_id_callback
...........
installing `libssl1.0-dev`
`sudo apt install libssl1.0-dev`
thank you very much for your plugin
thought to put readme :)
yeah, some minimum example would be useful
hello
system:ubuntu 20.04
QT5.12.3 Thanks in advance I want to put it in raspberry automotive pi-automotive after tested it on my computer I managed to compile the plugin using
/home/kovax/Qt5.12.3/5.12.3/gcc_64/bin/qmake +CONFIG+=release /home/kovax/raspi/googlemaps
aftermake
ls
and I got resultlibqtgeoservices_googlemaps.so Makefile
so i installsudo make install
after thisls /home/kovax/Qt5.12.3/5.12.3/gcc_64/plugins/geoservices
and I got result "so" installed perfectly,but when i put the qml code i get this error
Unable to assign [undefined] to QDeclarativeGeoMapType*
here is myqml
codeMap { id:mainmap anchors.fill: parent plugin: googlemaps activeMapType: supportedMapTypes[1] center: QtPositioning.coordinate(59.91, 10.75) // Oslo zoomLevel: 14
} }