Qt 6 platform and sql drivers are not loaded in appimage

Job ID: 35632044

Budget: €30 – €250 EUR

I try to create a app image with a qt application inside.
using
https://github.com/linuxdeploy/linuxdeploy
https://github.com/linuxdeploy/linuxdeploy-plugin-qt
https://github.com/linuxdeploy/linuxdeploy-plugin-appimage

calling it by a python script in a docker container.

The qt app is using qmysql drivers.
They are deployed to the AppDir folder of the appimage but are not loaded on appimage startup.
Same goes for the platforms/offscreen driver, this one is not even deployed.

somehow it should work with env variables https://github.com/linuxdeploy/linuxdeploy-plugin-qt#environment-variables

but it somehow doesn't

I can run the appimage with an LD_LIBRARY_PATH but the appimage should run by itself.


Don't know how to fix it.

somehow the plugin libs are not linked even if in the appimage.
Related categories: C Programming Python Linux C++ Programming Qt