Good hint, thanks.
On ubuntu 20.04 the package seem be called libmariadb-dev. So yes, libmariadb-dev and libmariadbclient-dev are installed.
Where is mysql_config on your system? Somehow I can't find it at all...
Added after 7 minutes:
UPDATE:
A very ugly (although working) workaround is to tweak the mysql.pro in the mysql subfolder.
I removed the QMAKE_USE += mysql and added INCLUDEPATH and LIBS pointing to the appropriate places. And viola it compiles, installs and is found at runtime.
Still I would be highly interested in a clean solution.
Bookmarks