Have you also tried the "solutions" mentioned there under "Troubleshooting"? What does QApplication::libraryPaths() say?
Have you also tried the "solutions" mentioned there under "Troubleshooting"? What does QApplication::libraryPaths() say?
Yes, I've tried:
Qt Code:
To copy to clipboard, switch view to plain text mode
and returns:
Qt Code:
("C:/Qt/2010.02/qt/plugins", "C:/Documents and Settings/D44/Desktop/testMySQL/debug")To copy to clipboard, switch view to plain text mode
It's correct!
Ok, panic: Aaaaaaaagh!
Last edited by cydside; 10th March 2010 at 15:47.
Hi to all again,
I've found the following tutorial:
Qt Code:
http://christopher.rasch-olsen.no/2009/04/14/qt-45-and-mysql-plugin-with-mingw-on-windows-xp/To copy to clipboard, switch view to plain text mode
where the guy who has wrote it talk about a lack in the Qt documentation. It seems that the tutorial on How to build MySQL libraries on Windows is working only for nmake (Visual Studio). Do you, according to you experience, confirm that?
Unbelievable!!!
One thing I found with mine (Note: I am using MSVC compiler and I got the plugin to compile just fine) is that you also need the libmysql.dll file and located somewhere in your path. The libmysql.dll file is NOT included if you just install the mysql header and source files only the .lib and *.h files are. So I re-installed with the client programs and copyed the .dll to my executable folder and it works!
Bookmarks