Hello,
Having downloaded QT 4.3.1 binaries, sqlite support seems to be natively supported but when I compile my software (which was working with previous build of Qt, but from the sources of Qt, not the binaries...) I now get the message:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -Wl,-s -mthreads -Wl -o "release\dopcica.exe" object_script.dopcica.Release
-L"c:\Qt\4.3.1\lib" -lmingw32 -lqtmain -LC:/Qt/4.3.1/plugins/sqldrivers/ -lqsql
ite4 -lQtGui4 -lQtCore4
./release\Consultation.o(.text+0x436):Consultation.c pp: undefined reference to `
_imp___ZN12QSqlDatabaseC1ERKS_'
(...)
Why the symbol _imp___ZN12QSqlDatabaseC1ERKS_ is incorrect???
However, I link qsqlite4 which should resolve that symbol...
Initially, I've added the following to my project file:
QTPLUGIN += qsqlite
Any idea?
Thank you for your help.
Best regards,
Oscar
Bookmarks