Cannot compile MySql driver under Windows
-
I read many topics about this problem but cannot solve it. My task is to make application which may be run on old computers under Windows XP. This application must connect to MySQL database. I try follow this instruction: http://doc.qt.io/qt-5/sql-driver.html#qmysql
But when I enter command "nmake", it interrupts with error:
"rc" is not recognized as an internal or external command.
I was seeking file rc.exe, but not found it. How did it come? After all, I downloaded QT Creator and minGW from official sites and make full install. How can I solve my problem? -
Hi and welcome to devnet,
nmake is for Visual Studio, if you are using MinGW-32, the you must call mingw32_make
-
You can't mix compilers like that on Windows, either you use MinGW and the MinGW package or you use Visual Studio and the corresponding Qt package. Even more, you need to match the Qt package and Visual Studio version because the compilers are not compatible one with the other.