[GCompris-devel] Trying to build 0.50 with external qml-box2d

Holger Kaelberer hk at elberer.de
Sat Jan 2 05:33:03 UTC 2016



On 28.12.2015 15:47, Holger Kaelberer wrote:

>
> I guess this is due to the qt_helper cmake stuff we use. I can reproduce this behaviour with OS
> installed qt-libs on Ubuntu. The qt_helpers seem to detect the Qt5 plugin- and qml-dirs reliably
> only for directory layouts that are provided by Qt's installers (on linux), e.g.:
>
> /mnt/ltmp/Qt5.5.1-android/5.5/gcc/lib/libQt5Qml.so.5.5.1
> /mnt/ltmp/Qt5.5.1-android/5.5/gcc/plugins/
> /mnt/ltmp/Qt5.5.1-android/5.5/gcc/qml/
>
> Debian/Ubuntu uses a different layout which is not handled correctly:
>
> /usr/lib/i386-linux-gnu/libQt5Qml.so.5.4.1
> /usr/lib/i386-linux-gnu/qt5/plugins/
> /usr/lib/i386-linux-gnu/qt5/qml/
>
> This might also be the case on your distro (OpenSuse, right?) due to the lib64/ part.
>
> The qt_helpers try to derive the qml-base dir in hackish way from the LOCATION of the qt-libs.
> That's obviously too simple for all installations. Will fix that soon ...

http://commits.kde.org/gcompris/a33ff0300ce352e7b727e0c8e39b6cb5ebd16947 fixes this for me on Ubuntu 
32bit. From what I found in Opensuse rpm-repos it should work also for that one.

Let me know if you still have problems with that.

Holger


More information about the GCompris-devel mailing list