Description
When I try to package my app (which does depend on QtSql), ldd
will be run on each of the libraries within the ${QT_PATH}/plugins/sqldrivers/
directory, as you might expect to happen. However, now in Qt 6.6.1 (and not in 6.5.2), there is a new SQL driver called libqsqlmimer.so for the Mimer SQL library (https://www.mimer.com/mimer-sql-joins-qt-6-6-enhancing-database-connectivity/). ldd
fails to find libmimerapi.so
, and the appimage build fails as a result.
From what I can tell, the two obvious paths to resolve this are:
- Install Mimer SQL
- Remove the Mimer driver from my Qt install
Well, I have no need for Mimer (and you can't even trivially install it on Ubuntu anyway, because it is a paid product - likely Qt automotive related shenanigans), so I'm currently working around the issue by just outright deleting the driver.
That said, it would be nice if there was a way to tell linuxdeploy/plugin-qt to ignore specific drivers which aren't needed. In this case, I only use the sqlite driver in my app, so there is no need to deploy the others either.
I tried to find such a method, but didn't come across anything.