You're probably right. I've deleted the subsurface/build directory and rebuilt subsurface and now it runs just fine :-)
Thanks ! Kind regards, Egbert de Pauw Op wo 11 nov. 2020 om 15:57 schreef Dirk Hohndel <[email protected]>: > > > > > On Nov 11, 2020, at 6:03 AM, Egbert de Pauw via subsurface > > <[email protected]> wrote: > > > > I am building subsurface from source, and when I run subsurface it > > complains that it cannot find the googlemaps plugin. > > > > I've build subsurface from source checked out the release tag v4.9.8 > > > > It did build and run correctly yesterday, before v4.9.8 was released. > > > > System : Ubuntu 20.10 x86_64 > > Installed Qt versions 5.14.2 and 5.15.1 > > Yeah, that's almost always a challenge. Because you may have parts of your > app build against one, part against the other. > And especially the googlemaps plugin is very sensitive to which version it is > built against as it uses "private" headers. > > > commands I've used : > > > > cd ./subsurface > > git fetch --all --tags --prune > > git checkout tags/v4.9.8 > > git clean -xdf > > cd .. > > rm -rf ./install-root > > rm -rf ./googlemaps > > rm -rf ./build.log > > ./subsurface/scripts/build.sh > > > > After the build, the libqtgeoservices_googlemaps.so has been built. > > > > The message that's logged is: > > > > MapWidget.qml: cannot find a plugin named: googlemaps > > 1 , "The geoservices provider is not supported." > > qrc:/qml/MapWidget.qml:24: Error: Cannot assign [undefined] to > > QDeclarativeGeoMapType* > > Run Subsurface like this > > QT_DEBUG_PLUGINS=1 subsurface/build/subsurface > > Look at the output as to where Subsurface is looking for the plugin. > > Also, use > ldd subsurface/build/subsurface > ldd googlemaps/build/libqtgeoservices_googlemaps.so > to make sure they are built against the same version of Qt. > > > So is there something broken in this tag or am I doing something wrong? > > It's likely the fact that you have 2 Qt versions installed > > > (On my windows machine the v4.9.8 version is working, except the TAG > > filtering as mentioned before) > > Subsurface seems to be mostly working on all the platform, as far as I can > tell. I'm still trying to track down why the tag filtering crashes, sadly > debugging on Windows is not my favorite past time. > > /D _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
