Results 1 to 2 of 2

Thread: compiling Qt with custom SQLite support

  1. #1
    Join Date
    Jun 2010
    Location
    Cincinnati, Ohio, USA
    Posts
    92
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question compiling Qt with custom SQLite support

    I have compiled my own SQLite, one that defautls foreign keys to be on be default. Now I would like to build that into Qt. Initally I used the following options to configure Qt on Win 7:

    configure -debug-and-release -opensource -plugin-sql-sqlite -plugin-sql-ibase -no-qt3support -platform win32-msvc -no-phonon -I C:\Apps\Firebird\Firebird_2_1\include -L C:\Apps\Firebird\Firebird_2_1\lib -l fbclient_ms

    I tried to changed it to: (add three options to the end)

    set SQLITE=<PATH>\SQLite
    configure -debug-and-release -opensource -plugin-sql-sqlite -plugin-sql-ibase -no-qt3support -platform win32-msvc -no-phonon -I C:\Apps\Firebird\Firebird_2_1\include -L C:\Apps\Firebird\Firebird_2_1\lib -l fbclient_ms -I %SQLITE% -L %SQLITE% -l sqlite3

    And I get the error: QWidget: Must construct a QApplication before a QPaintDevice after recompiling my project. What did I do wrong?

    Sam

  2. #2
    Join Date
    Jun 2010
    Location
    Cincinnati, Ohio, USA
    Posts
    92
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: compiling Qt with custom SQLite support

    I did not copy the SQLite3.DLL into the Qt's bin folder, that is what I was doing wrong.

Similar Threads

  1. SQLite thread support
    By adzajac in forum Qt Programming
    Replies: 4
    Last Post: 31st May 2013, 10:18
  2. Compiling Qt with Firebird support on Mac
    By ceharon in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd July 2009, 15:12
  3. QTextBrowser, add support for custom tags
    By qtcos in forum Qt Programming
    Replies: 3
    Last Post: 29th December 2007, 16:43
  4. Error compiling Qt3 app with Boost signals support
    By stodge in forum Qt Programming
    Replies: 3
    Last Post: 3rd May 2007, 10:48
  5. QVariant types support for custom properties
    By Dusdan in forum Qt Tools
    Replies: 9
    Last Post: 11th January 2006, 09:55

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.