scarleton
14th June 2010, 14:51
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
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