Help packaging builds with Qt6 into appimage.

225 views
Skip to first unread message

Steve Edmonds

unread,
Mar 5, 2024, 9:23:07 PM3/5/24
to golden-cheetah-users
I have no trouble building GC with Qt 5... and packaging with linuxdeployqt into an appimage to transfer to my laptop on the trainer.
I can build and run GC built with Qt 6, 6.6.1 through to 6.7.0, on my desktop but trying to package with either linuxdeployqt or linuxdeploy fails due to a dependency error, missing libmimerapi.so. I have added a libmimerapi.so from a mimersql package but then get a failed dependency with missing (from memory) libmysql-client.

I am wondering if anyone else has experienced this and could help me with a solution.
TIA, steve

Ale Martinez

unread,
Mar 5, 2024, 11:41:59 PM3/5/24
to golden-cheetah-users
I have not tried packing using Qt6 yet, but since that plug-in is not used by GC, my first attempt would be to add it to exclude-libs parameter. 

Steve Edmonds

unread,
Mar 6, 2024, 8:29:39 PM3/6/24
to golden-cheetah-users
Thanks Ale, I have not been successful with exclude-libs yet. From what I can tell with linuxdeployqt it can exclude a library that ldd finds but will still fail when an ldd dependency fails. With linuxdeploy the --exclude-library option does not seem to work with the linuxdeploy-plugin-qt-x86_64.AppImage plugin.
I will try manually packaging the Qt libs when I get a chance.
Reply all
Reply to author
Forward
0 new messages