On 25 August 2017 at 20:47, Miika Turkia <[email protected]> wrote: > On Fri, Aug 25, 2017 at 8:30 PM, Robert C. Helling > <[email protected]> wrote: >> Miika, >> >>> Am 25.08.2017 um 05:55 schrieb Miika Turkia <[email protected]>: >>> >>> Any idea about the following error message? >>> >>> qrc:/MapWidget.qml:45: Error: Cannot assign [undefined] to >>> QDeclarativeGeoMapType* >>> qml: MapWidget.qml: cannot find a plugin with the name 'googlemaps' >> >> Are you positive the plugin was built correctly? On my macs there was a >> problem with the sed script. I had to go to the directory and make and make >> install explicitly. Then everything worked like charm. >> > > That is the thing. There is no googlemaps > ---8<--- > Cloning into 'googlemaps'... > Already on 'master' > Your branch is up-to-date with 'origin/master'. > Current branch master is up to date. > Project ERROR: No module claims plugin type 'geoservices' > sed: can't read Makefile: No such file or directory > make: *** No targets specified and no makefile found. Stop. > make: *** No rule to make target 'install'. Stop. > ---8<--- > > And no makefiles in the build dir either. Been trying to figure this > out for quite some time to no avail. >
looks like that qmake cannot distinguish the module "geoservices". TMK this is declared here: https://github.com/qt/qtlocation/blob/5.9/src/location/location.pro#L21 as: MODULE_PLUGIN_TYPES = geoservices so when the google maps plugin is telling: PLUGIN_TYPE = geoservices this means that this plugin will be for the "location" module. why this errors for you though, i don't know... logically "No module claims plugin type 'geoservices'" probably means a missing MODULE_PLUGIN_TYPES definition in location.pro. what OS (distro) / Qt version is this? lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
