regressions because of the new tank handling

Stefan Fuchs sfuchs at gmx.de
Sat Sep 16 12:12:25 PDT 2017


Hi Lubomir,

Am 16.09.2017 um 20:20 schrieb Lubomir I. Ivanov:
> On 16 September 2017 at 20:42, Stefan Fuchs <sfuchs at gmx.de> wrote:
>> Lubomir was faster and confirms what I already typed into the mail:
>> No, I didn't fix this. What is the case is that the missing private header
>> file "qgeofiletilecache_p.h" is simply not existing when checking out
>> version 5.5.1 of qtlocation. I checked out 5.6.0 now from git and there the
>> file is available.
>> So you're most probably right and Qt 5.6.0 is the minimum requirement for
>> googlemaps plugin.
>>
> Stefan, please try the attached patch.
>
> copy the patch in the googlemaps plugin directory and call this:
> $ git apply <name.patch>
> $ qmake
No complaint but it has to be:
cd build
qmake
"INCLUDEPATH=/home/stefan/Entwicklung/Subsurface/install-root/include/"
../googlemaps.pro

Otherwise it won't find the downloaded private headers at all. Luckily
even with my low experience I'm able to copy&paste things like this from
build.sh ;-)
> $ make
>
>
> if there are errors or any warnings, please report them.
Unfortunately yes:
g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
-Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fvisibility=hidden
-fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W
-D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_EXCEPTIONS
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_LOCATION_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_POSITIONING_LIB
-DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-I/home/stefan/Entwicklung/Subsurface/googlemaps -I.
-I/home/stefan/Entwicklung/Subsurface/install-root/include
-I/home/stefan/Entwicklung/Subsurface
-I/home/stefan/Entwicklung/Subsurface/googlemaps -isystem
/usr/include/x86_64-linux-gnu/qt5 -isystem
/usr/include/x86_64-linux-gnu/qt5/QtLocation -isystem
/usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt5/QtPositioning -isystem
/usr/include/x86_64-linux-gnu/qt5/QtQml -isystem
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
/usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -isystem
/usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
-o .obj/qgeotiledmappingmanagerenginegooglemaps.o
/home/stefan/Entwicklung/Subsurface/googlemaps/qgeotiledmappingmanagerenginegooglemaps.cpp
/home/stefan/Entwicklung/Subsurface/googlemaps/qgeotiledmappingmanagerenginegooglemaps.cpp:
In constructor
‘QGeoTiledMappingManagerEngineGooglemaps::QGeoTiledMappingManagerEngineGooglemaps(const
QVariantMap&, QGeoServiceProvider::Error*, QString*)’:
/home/stefan/Entwicklung/Subsurface/googlemaps/qgeotiledmappingmanagerenginegooglemaps.cpp:61:28:
error: ‘QAbstractGeoTileCache’ has not been declared
         m_cacheDirectory = QAbstractGeoTileCache::baseCacheDirectory()
+ QLatin1String("googlemaps");
                            ^
Makefile:590: die Regel für Ziel
„.obj/qgeotiledmappingmanagerenginegooglemaps.o“ scheiterte
make: *** [.obj/qgeotiledmappingmanagerenginegooglemaps.o] Fehler 1


Just again as a side note:
I personally have no need to make it work with Qt 5.5.1. I can either
even upgrade my Xubuntu to have a newer Qt directly from the distro or
I'll try to install Qt 5.9.1 as option.
Don't know if it's really worthwhile to make it work with Qt < 5.6

Best regards
Stefan

-- 

Stefan Fuchs
E-Mail: sfuchs at gmx.de <mailto:sfuchs at gmx.de>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170916/66d25bb4/attachment.html>


More information about the subsurface mailing list