PDA

View Full Version : Qt Assistant Qt qhelpgenerator.exe fails to build QCH file: QSQLITE driver not loaded



pixaeiro
28th January 2016, 22:30
I am trying to understand how to use Qt's assistant.exe to display documentation.

I am following the instructions on this page:
http://doc.qt.io/qt-4.8/qthelp-framework.html

I created a few html files, the qhp file, and executed this command, and I get this:
C:\temp\TestDocs>qhelpgenerator.exe doc.qhp -o doc.qch
Building up file structure...
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
Cannot open data base file C:/temp/TestDocs/doc.qch!

Is there anything I need to start to get this working?

Thank you!

Added after 4 minutes:

I found the solution to my problem:
http://stackoverflow.com/questions/5151279/qsqlite-driver-not-loaded-where-to-put-qt-database-driver-plugins
Just copy the sqldrivers directory as a subdirectory where QtCore4.dll is located.