Compiling Qt with VS2010 and MySQL
I'm just planning to compile Qt 4.7.2 sources with Visual Studio 2010. I will follow this tutorial:
I would like to know what do I have to change (following the tutorial) to compile it with QtMySQL enabled, then I don't have to worry about compile further plugins/libs.
By the way, will I have to compile anything else anyway to get QtMySQL working?
Actually, that should be easier than compiling it with the MinGw32. You should be able to use the standard libs from MySql, AFAIK.
Thanks for the answer, but I want to know what I do have to modify to compile Qt with VS2010 and QtMySQL. I guess I have to modify something in this line:
configure -debug-and-release -opensource -platform win32-msvc2010
but I'm not sure about this.
I would first just compile Qt itself. The MySql driver can be compiled separately later on. A simple Google search will tell you how to do that...
So, there's no way to compile Qt and the MySQL driver at once?
Sure there is, if you want.
Did you run configure --help?