QSqlDatabase: QSQLITE driver not loaded [Ubuntu Server 12.04]
Hello. I created the qt-based application on Ubuntu 12.04 x86 (qt 4.8.2) and it works fine there. Now I need to move it to Ubuntu Server 12.04 x64. I've installed libqt4-sql-sqlite, ia32-libs-multiarch, lib32icu48, so now the application can be launched, but when trying to access the sqlite database it gives the following errors:
Quote:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
I suppose there is something related to 32/64 bit, but don't know how to fix it. Could somebody help me?
Re: QSqlDatabase: QSQLITE driver not loaded [Ubuntu Server 12.04]
You need to have your SQLite driver SO in the <appdir>/plugins/sqldrivers or <appdir>/sqldrivers directories
Re: QSqlDatabase: QSQLITE driver not loaded [Ubuntu Server 12.04]
Thanks, I will try it, but on my development machine I don't have it there (however, I have qt framework installed, of course). But I thought it is possible to install libqt4-sql-sqlite instead.