Hi there,
I get the following error when I try to connect to a mysql database.
QMYSQL driver not loaded
for the release version of my application.
I don't get this error for the debug version, which connects as expected.
I am working on Windows XP with VS2008.
I have built QT as follows -
C:\Qt\2009.02\qt\src\plugins\sqldrivers\mysql>conf igure -no-qt3support -platform win32-msvc2008 -no-libtiff -no-phonon -no-phonon-backend -no-webkit -qt-sql-mysql -l libMySql -I C:\mysql\include -L C:\mysql\lib\opt -static -release
C:\Qt\2009.02\qt\src\plugins\sqldrivers\mysql>nmak e sub-src
And have directed the linker to link against -
C:\Qt\2009.02\qt\lib\QtSqld4.lib
for both release and debug.
Any idea what the problem might be?
Thanks,
Barry
Bookmarks