Results 1 to 4 of 4

Thread: Problems with QSqlDatabase

  1. #1

    Default Problems with QSqlDatabase

    Hello world,

    when using this instruction:

    QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");

    my App termintes within a second. Also with other sqldrivers and a new project I am getting this mess.

    qt 4.4.3 was configured with -qt-sql-sqlite and -plugin-sql-sqlite
    I am using win xp64 and mingw with eclipse.



    thanks for any help

  2. #2
    Join Date
    Mar 2008
    Posts
    141
    Thanks
    10
    Thanked 9 Times in 9 Posts

    Default Re: Problems with QSqlDatabase

    Hi,

    i guess you need to configure with -qt-sql-sqlite OR -plugin-sql-sqlite

  3. #3

    Default Re: Problems with QSqlDatabase

    Hi, thanks for your help buddy.

    I don't think so, because i was always installing qt with -qt-sql-sqlite and -plugin-sql-sqlite parameters and used sqlite without any problems.

  4. #4
    Join Date
    Mar 2008
    Posts
    141
    Thanks
    10
    Thanked 9 Times in 9 Posts

    Default Re: Problems with QSqlDatabase

    ok, just guessing ...

Similar Threads

  1. Problems with scope and C header functions
    By waldowoc in forum Newbie
    Replies: 5
    Last Post: 5th August 2008, 11:29
  2. QSqlDatabase connectivity issues
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 16th July 2008, 12:58
  3. flicker and wierd resize problems ...
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2008, 18:00
  4. GCC can't find QSqlDatabase!!
    By brevleq in forum Qt Programming
    Replies: 5
    Last Post: 29th October 2007, 07:05
  5. Passing around a QSqlDatabase
    By darkadept in forum Qt Programming
    Replies: 2
    Last Post: 8th September 2007, 08:41

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.