Qt app deployment and SQLite



  • I have an app that is using the latest version of Qt from Gitorious that I compiled myself. I need to ship the app every now and then to the customer for some UI-reviews. Everything went fine when I zipped the application executable and the compiled Qt DLLs. Now when I started using QML's offline storage which uses SQLite I ran into problems. Customer gets errors that SQLdriver cannot be loaded. How can i resolve this? Copying the qsqlite4.dll from QT_HOME\plugins\sqldrivers to the binary dir doesn't work like with the other Qt DLLs.

    bq. QSqlDatabase: QSQLITE driver not loaded
    QSqlDatabase: available drivers:
    QSqlQuery::prepare database not open


  • Moderators

    Hi riussi!

    "This is document":http://doc.trolltech.com/4.6/deployment-x11.html describes your options (see the last couple of paragraphs). I think that part is not X11 specific:-)



  • Hi Tobias,

    Thanks for the info. I got it working now.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.