[SOLVED] Debian7, assistant missing sql driver
I am deplyoing my application to Debian 7.8 (64bit), but assistant refuses to launch:
@QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
Error reading collection file '/opt/myapp/myapp.qhc': Cannot load sqlite database driver!.@
Here is folder structure:
and content of qt.conf:
This is how I am launching assistant:
@./assistant -collectionFile myapp.qhc@
I am using Qt 4.8.1 - built by myself. Driver file libqsqlite.so is taken from built Qt.
Note: I am using this approach, when deploying myapp to CentOS (5) and it works there.
I turned out that this approach is not needed at all, proper sql drivers can be easily installed via apt-get or it can be added to control file in deb package.
@apt-get install libqt4-sql-sqlite@
Marking as solved.