<div dir="ltr">As i seen, marble Qt( and marble Qt4 use the same cmake rules for detection purposes. Typically, marble Qt5 is not yet fully ported as a KF5 components (in cmake viewpoint) to be distinguished of qt4 version properly.<div><br></div><div>My solution here : be sure of marble Qt version you use to compile digiKam. If i want to compile digiKam 5, i need Qt 5 version. So i checkout all code from marble Qt5, compile and install it. I take a care to not mix Qt4 version, else it's a big mess. The same rules must be respected to compile digiKam 4 with marble Qt4.</div><div><br></div><div>Note : marble Qt5 will be released as a pure KF5 component soon. digiKam 5 beta 1 is planed to one week, if all is ready. Be patient...</div><div><br></div><div>Gilles Caulier<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-09 2:54 GMT+02:00 Philip Johnsson <span dir="ltr"><<a href="mailto:philip.johnsson@gmail.com" target="_blank">philip.johnsson@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I can add as a feedback the way this was solved in ubuntu (wily) that is the next coming release that also is using qt5 and libmarbewidget-qt5-22 this way with libmarble is to build digikam 4.x without marble support which mean that you don't get the geo-loacation and map features in digikam. might be the only way to build digikam 4.x on your qt5 shifting system until digikam 5.x is out there for production use.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">/Philip<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 9, 2015 at 12:12 AM, Philip Johnsson <span dir="ltr"><<a href="mailto:philip.johnsson@gmail.com" target="_blank">philip.johnsson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Not sure exactly what's going on with the MarbleWidgetConfig.cmake it searching for but it looks like you are building digikam 4.x against qt5 libraries and that will not work as digikam 4.x only works with qt4. Digikam 5.x is all about qt5 but that is under development.<br><br></div>That's what my thoughts are.<br><br></div>/Philip<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Oct 9, 2015 at 12:02 AM, Simon Frei <span dir="ltr"><<a href="mailto:freisim93@gmail.com" target="_blank">freisim93@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>sHi<br>
<br>
I am trying to compile digikam 4.13 on debian stretch. When running the bootstrap script I get the following error, even though I have the packages "libmarble-dev" and "libmarbewidget-qt5-22" installed. It would be great if you could point me to the actual problem here, because I am stuck.<br>
<br>
CMake Warning at extra/libkgeomap/CMakeLists.txt:24 (find_package):<br>
By not providing "FindMarble.cmake" in CMAKE_MODULE_PATH this project has<br>
asked CMake to find a package configuration file provided by "Marble", but<br>
CMake did not find one.<br>
Could not find a package configuration file provided by "M<br>
any of the following names:<br>
<br>
MarbleWidgetConfig.cmake<br>
marblewidget-config.cmake<br>
<br>
Add the installation prefix of "MarbleWidget" to CMAKE_PRE<br>
"MarbleWidget_DIR" to a directory containing one of the ab<br>
"MarbleWidget" provides a separate development package or<br>
has been installed.<br>
<br>
<br>
CMake Error at extra/libkgeomap/CMakeLists.txt:27 (find_pack<br>
By not providing "FindMarbleWidget.cmake" in CMAKE_MODULE_<br>
has asked CMake to find a package configuration file provi<br>
"MarbleWidget", but CMake did not find one.<br>
<br>
Could not find a package configuration file provided by "M<br>
any of the following names:<br>
<br>
MarbleWidgetConfig.cmake<br>
marblewidget-config.cmake<br>
<br>
Add the installation prefix of "MarbleWidget" to CMAKE_PRE<br>
"MarbleWidget_DIR" to a directory containing one of the ab<br>
"MarbleWidget" provides a separate development package or<br>
has been installed.<br>
<br>
As a fix I added the two files in the attachment into extras/libkgeomap/cmake/modules which got rid of the above errors, but the following occured:<br>
<br>
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.<br>
Please set them or make sure they are set and tested correctly in the CMake files:<br>
LIBMARBLEWIDGET_LIBRARY (ADVANCED)<br>
linked by target "kgeomap" in directory /home/simon/Programme/Linux/source/digikam-4.13.0/extra/libkgeomap/libkgeomap<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
I tried to set the variable manually in the bootstrap script by adding LIBMARBLEWIDGET_LIBRARY=/usr/lib/x86_64-linux-gnu/ where the file "libmarblewidget-qt5.so" is located, but that did not change anything.<br>
Thanks in advance for any of your help.<br>
<br>
Cheers,<br>
Simon<br>
<br>
<br></div></div>_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org" target="_blank">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<br></blockquote></div><br></div>