Qt Assitant wont open

it says it is missing a sql driver ?

rhens@slitaz:~/Sources/qt/hello_world2$ assistant
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
Error reading collection file '/home/rhens/.local/share/data/Trolltech/Assistant
/qthelpcollection_4.7.3.qhc': Cannot load sqlite database driver!.
bump
Link to Qt docs: http://qt-project.org/doc/qt-4.7/deployment-x11.html#id-a2a95a4c-21a1-4f14-a146-e4dc5f88b371

On my box I have a self-compiled Qt-4.8.0 on a separate partition:
/data/qt-everywhere-opensource-src-4.8.0/plugins/sqldrivers$ ls -og
total 180
-rwxr-xr-x 1 72140 Apr 6 2012 libqsqlite.so
-rwxr-xr-x 1 99536 Sep 29 2012 libqsqlmysql.so
what should i do ? where can i find the drivers, i'm new to linux and all of these seems strange

Thank you
Last edited on
what should i do ?
It depends:

If you are using your distribution's Qt packages, search for the sqlite package and install it. On Debian it is named libqt4-sql-sqlite.

If compiling here is a link to the Qt docs:
http://qt-project.org/doc/qt-4.7/sql-driver.html#id-23c81eb6-e396-4c39-a42e-aa086ff2f78b
Thanks, well, i've just discovered that it is a broken package, together with libQtPlugins i've reinstalled it and assistant worked fine. :)
WAIT! Actually it's not really working, it's opening but the documentation seems not to be present.
It only shows the introductory page

Is the documentation installed somewhere ?
bump
bump
Download your dist's qt4 documentation package (on Debian it's: qt4-doc).

In assistant: Edit->Preferences->Documentation->add - navigate to the wherever the qt.qch file is on your system. (on Debian: /usr/share/qt4/doc/qch/qt.qch ) - click ok
Topic archived. No new replies allowed.