Needs helps for understanding builds with recent qml-box2d & qt6 & gcompris-qt 25

Bruno Friedmann bruno at ioda-net.ch
Thu Mar 20 08:09:22 GMT 2025


On lundi, 17 mars 2025 22.02:56 h heure normale d’Europe centrale Johnny 
Jazeix wrote:
> Hi,
> 
> Le lun. 17 mars 2025 à 21:23, Bruno Friedmann <bruno at ioda-net.ch> a écrit :
> > Hello gcompris-qt team,
> > 
> > 
> > I'm struggling to renew the packages for openSUSE due to some issues.
> > 
> > On Tumbleweed we have box2d 2.4.1 and qt6 6.8.2 etc ...
> > 
> > 
> > I'm trying to get qml-box2d build and installed correctly
> > 
> > but if I've succeed somewhat to build a .so with current released
> > qml-box2d
> > 
> > this one is installed in /usr/lib64/Box2D
> > 
> > while gcompris-qt is looking in standard qml dir
> > 
> > which should be /usr/lib64/qml/Box2D2.0
> > 
> > 
> > There's a few commits in qml-box2d that have removed qmake support and
> > ported to cmake but it doesn't seems to works all the time.
> > 
> > 
> > Also there's a PR open to support box2d 2.4.1 since now 2 years but I've
> > no clues about its real status.
> qml-box2d is not really maintained and only supports box2d 2.3 for now
> (either the one shipped or a system one).
> I started this PR to update to 2.4.1 but at the time there were 3
> major issues that I couldn't fix and the core maintainer did not have
> time to take a look.
> 
> > To help me out, I wonder how you build the software, as on obs you can't
> > use git submodules (disconnected vm with protected root) for good
> > reasons.
> https://invent.kde.org/education/gcompris/-/blob/master/cmake/box2d.cmake?re
> f_type=heads#L90 which translates to something like:
> mkdir build
> cd build
> cmake -DBUILD_EXAMPLES=OFF ..
> cmake --build .
> cp bin/plugins/Box2D/libqmlbox2d.so bin/plugins/Box2D/qmldir
> ${installFolder}/lib/qml/Box2D.2.0
> 
> (so no real clean "make install" step)
> 
> > Shall I stop trying to package qml-box2d (seems lots of distribution has
> > gone this way) and add a second tar.xz from qml-box2d source tree (at a
> > precise commit?)
> I think it would be better as for now, qml-box2d is not compatible
> with box2d 2.4.1. We use the latest commit in GCompris
> (https://github.com/qml-box2d/qml-box2d/tree/3a85439726d1ac4d082308feba45f23
> 859ba71e0).
> 
> Cheers,
> Johnny
> 
> > Any helps, guidance is greatly appreciate.
> > 
> > 

Thanks a lot Johnny, it look like the only consumer of qml-box2d is 
GCompris-qt, I might go for adding a git checkout of it inside GCompris-qt

and drop the standalone package.


-- 
Bruno Friedmann
 Ioda-Net Sàrl www.ioda-net.ch
   expertise en open-source

 GPG KEY: E4720D8715B696B4 
 irc: tigerfoot
Computing freedom with openSUSE Tumbleweed - 20250317
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20250320/d2c69957/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20250320/d2c69957/attachment.sig>


More information about the GCompris-devel mailing list