I am currently trying to build mysql drivers using QT Creator 3.0.1 with MSVC 11. I have copied the contents MySQL Connector 6.1.3 to C:\MySQL and have edited the mysql.pro file located in ..\qtbase\src\plugins\sqldrivers\mysql with the following:
LIBS += C:\MySQL\lib\libmysql.lib
INCLUDEPATH += C:\MySQL\includes
When trying to build the file, I get the error: LNK1104: cannot open file ‘libmysql.lib’. I have tried with the file in the working directory and also located in the C:\MySQL folder with no change. There are no spaces in the .lib path so I’m not sure what else would be causing the error.
↧