On 23 May 2015 at 15:39, Dennis Nienhüser <earthwi...@gentoo.org> wrote: > Hi Jaroslaw, > > Am 23.05.2015 00:43, schrieb Jaroslaw Staniek: >> >> @Adam integrated code from your maps-piggz branch (with a few alterations) >> >> I am not sure Marble is already fully ported to Qt5/KF5. I don't see >> many commits that look like ports there, and the branch > > > There's one major commit that does the porting, 5f8db00. I wouldn't call it > done yet though, we have to update the branch and test it properly. > >> kde-frameworks-5 is from Aug 30. Its libs do not look like a framework >> of the same sort as e.g. those from KF5. Also default build of master >> tried >> to find Qt4, and is broken when marble examples or marble tools are >> built. I finally used: >> cmake -DCMAKE_INSTALL_PREFIX=~/dev/inst5 -DBUILD_MARBLE_EXAMPLES=NO >> -DBUILD_MARBLE_TOOLS=NO -DCMAKE_BUILD_TYPE=Debug -DQT5BUILD=ON >> ../../src/marble > > > I just fixed building examples and tools, switching to > -DBUILD_MARBLE_EXAMPLES=YES -DBUILD_MARBLE_TOOLS=YES should work after an > update. > >> Then it built but marble-qt crashed for me. (current KF5 built using >> kdesrc-build). > > > Can you provide a backtrace, please? Works fine here (not using > kdesrc-build).
Thanks so much Denis! I built the kde-frameworks-5 branch now. Before I tried master. Now it builds brilliantly: http://i.imgur.com/CoICvH0.png The only thing I noticed: on install it ignores that lib64/ is the right destination on my x86-64: -- Installing: /home/jarek/dev/inst5/lib/libmarblewidget-qt5.so.0.21.20 -- Up-to-date: /home/jarek/dev/inst5/lib/libmarblewidget-qt5.so.22 -- Up-to-date: /home/jarek/dev/inst5/lib/libmarblewidget-qt5.so -- Removed runtime path from "/home/jarek/dev/inst5/lib/libmarblewidget-qt5.so.0.21.20" I had to cd lib/; cp -R * ../lib64/. The RUNPATH is OK though, e.g.: % readelf -d `which marble` | grep RUN 0x000000000000001d (RUNPATH) Library runpath: [/home/jarek/dev/inst5/lib64] My cmake command was still conservative: cmake -DCMAKE_INSTALL_PREFIX=~/dev/inst5 -DBUILD_MARBLE_EXAMPLES=NO -DBUILD_MARBLE_TOOLS=NO -DCMAKE_BUILD_TYPE=Debug -DQT5BUILD=ON ../../src/marble @Adam I think the maps can be tested again now (I did not try). -- regards, Jaroslaw Staniek KDE: : A world-wide network of software engineers, artists, writers, translators : and facilitators committed to Free Software development - http://kde.org Calligra Suite: : A graphic art and office suite - http://calligra.org Kexi: : A visual database apps builder - http://calligra.org/kexi Qt Certified Specialist: : http://www.linkedin.com/in/jstaniek _______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel