Hi all,

I have my application, developed with Qt 5.4.1, working with MySQL databases in my dev machine (Ubuntu 12.04 32 bit), but when I deploy it to another (Ubuntu 14.04 32 bit), I get the "Driver not loaded" of death.
The destination machine has everything installed, namely:


  • MySQL Server 5.5
  • MySQL Client 5.5
  • MySQL client library (libmysqlclient.so.18.0.0), both at sqldrivers folder and /usr/lib/i386-linux-gnu
  • MySQL plugin (libqsqlmysql.so) at sqldrivers folder
  • Qt 5.4 libraries, including Qt5Sql.so.5.4.1
  • I've even written a script to export the sqldrivers folder path


Seemingly there are no missing dependencies, tested with ldd on both my executable and libqsqlmysql.so. Upon request, I can post the results.
Furthermore, the deploying machine runs PHPmyadmin, so I can access the databases from there.
There is something else that I'm forgetting?

Any suggestion will be appreciated. Thanks in advance.