Results 1 to 8 of 8

Thread: Deploying sqlite app

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Posts
    206
    Thanks
    34
    Thanked 2 Times in 2 Posts

    Default Deploying sqlite app

    Hello friends,

    today I try to start an App on a machine without any qtstuff. I get some error like this:

    Qt Code:
    1. Unable to establish a database connection.
    2. This Example needs SQLite support. Please read the Qt SQL driver documentation for information how to build it.
    To copy to clipboard, switch view to plain text mode 

    So I have a tree like this:

    deploy
    |----->bin
    |-------------->app.exe
    |-------------->QtCore4.dll
    |-------------->QtGui4.dll
    |-------------->QtNetwork4.dll
    |-------------->QtSql4.dll
    |-------------->QtXml4.dll
    |-------------->mingwm10.dll
    |----->images
    |----->sqldrivers
    |------------>qsqlite4.dll
    |------------>sqlite3.dll
    in my app I add the line :

    Qt Code:
    1. qApp->addLibraryPath("..\\sqldrivers");
    To copy to clipboard, switch view to plain text mode 

    So what goes wrong here???

    I install the default sdk with the installer 2009.04....
    Last edited by codeman; 9th October 2009 at 14:46.

Similar Threads

  1. access SQlite from Qt (Windows & Linux)
    By Qt Coder in forum Qt Programming
    Replies: 13
    Last Post: 22nd July 2009, 10:07
  2. steps to connect to SQLite from Q
    By Qt Coder in forum Qt Programming
    Replies: 3
    Last Post: 8th July 2009, 12:12
  3. Qt SQLite user functions
    By cevou in forum Qt Programming
    Replies: 1
    Last Post: 10th March 2009, 19:43
  4. sqlite version in Qt
    By janus in forum Newbie
    Replies: 4
    Last Post: 5th February 2009, 14:18
  5. SQLite
    By cyberboy in forum Installation and Deployment
    Replies: 1
    Last Post: 15th April 2008, 19:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.