Results 1 to 2 of 2

Thread: QSql and sqlite compilation

  1. #1
    Join Date
    Dec 2007
    Posts
    28
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default QSql and sqlite compilation

    Hi

    I have a little problem. I wrote a program that use QSql module with Sqllite, so everything is working when I run program where qt is installed but when I run program on "clean" windows without Qt then program runs but it dosent read sqlbase. I added to folder where is program dlls.

    QtSql4.dll
    QtGui4.dll
    QtCore4.dll
    libgcc_s_dw2-1.dll
    mingwm10.dll

    Did i forgot about something? Or i made something wrong with building?

    Best Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QSql and sqlite compilation

    You forgot the sql plugins, and probably others too. Note that these need to be put in a specific folder.

    Use a "dependency walker" tool, it will tell you what is needed.

    http://doc.qt.nokia.com/4.7/deployment-windows.html

  3. The following user says thank you to tbscope for this useful post:

    Zergi (25th February 2011)

Similar Threads

  1. Check credentials using QSql
    By death_star in forum Qt Programming
    Replies: 6
    Last Post: 26th January 2011, 06:16
  2. Using auto_increment in QSql
    By SykeS in forum Newbie
    Replies: 3
    Last Post: 21st May 2010, 07:13
  3. QSql Database
    By addu in forum Qt Programming
    Replies: 6
    Last Post: 20th July 2009, 13:37
  4. QSql error
    By renjithmamman in forum Qt Programming
    Replies: 4
    Last Post: 20th December 2006, 10:28
  5. Cannot use QSql drivers
    By xgoan in forum Newbie
    Replies: 2
    Last Post: 25th August 2006, 15:45

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.