<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Lubomir,<br>
    </p>
    Am 16.09.2017 um 20:20 schrieb Lubomir I. Ivanov:<br>
    <blockquote type="cite"
cite="mid:CAGDbWi8S3vapDzCbzxvk7-0KxOQHbrbR2-_AuFOfLZAhD9ujWw@mail.gmail.com">
      <pre wrap="">On 16 September 2017 at 20:42, Stefan Fuchs <a class="moz-txt-link-rfc2396E" href="mailto:sfuchs@gmx.de"><sfuchs@gmx.de></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
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.

</pre>
      </blockquote>
      <pre wrap="">
Stefan, please try the attached patch.

copy the patch in the googlemaps plugin directory and call this:
$ git apply <name.patch>
$ qmake
</pre>
    </blockquote>
    No complaint but it has to be:<br>
    cd build<br>
    qmake
    "INCLUDEPATH=/home/stefan/Entwicklung/Subsurface/install-root/include/"
    ../googlemaps.pro<br>
    <br>
    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 ;-)<br>
    <blockquote type="cite"
cite="mid:CAGDbWi8S3vapDzCbzxvk7-0KxOQHbrbR2-_AuFOfLZAhD9ujWw@mail.gmail.com">
      <pre wrap="">$ make


if there are errors or any warnings, please report them.
</pre>
    </blockquote>
    Unfortunately yes:<br>
    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<br>
/home/stefan/Entwicklung/Subsurface/googlemaps/qgeotiledmappingmanagerenginegooglemaps.cpp:
    In constructor
‘QGeoTiledMappingManagerEngineGooglemaps::QGeoTiledMappingManagerEngineGooglemaps(const
    QVariantMap&, QGeoServiceProvider::Error*, QString*)’:<br>
/home/stefan/Entwicklung/Subsurface/googlemaps/qgeotiledmappingmanagerenginegooglemaps.cpp:61:28:
    error: ‘QAbstractGeoTileCache’ has not been declared<br>
             m_cacheDirectory =
    QAbstractGeoTileCache::baseCacheDirectory() +
    QLatin1String("googlemaps");<br>
                                ^<br>
    Makefile:590: die Regel für Ziel
    „.obj/qgeotiledmappingmanagerenginegooglemaps.o“ scheiterte<br>
    make: *** [.obj/qgeotiledmappingmanagerenginegooglemaps.o] Fehler 1<br>
    <br>
    <br>
    Just again as a side note:<br>
    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.<br>
    Don't know if it's really worthwhile to make it work with Qt <
    5.6<br>
    <br>
    Best regards<br>
    Stefan<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGEDBY" content="Stefan Fuchs">
      <meta name="CHANGED" content="20120503;23115492">
      <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
      <p>Stefan Fuchs<br>
        E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
    </div>
  </body>
</html>