PDA

View Full Version : QMYSQL Build Issue -Qt 4.8.0 MSVC 2010-



s7
20th May 2012, 13:58
I'm trying to build the QMYSQL plugin for the QT -I have the latest version, Qt 4.8.0 source files and I use the MSVC 2010 compiler along with the QtCreator IDE- and upon executing qmake (ran successfully) -using the MySQL win32 files I had placed into C:- I tried to run nmake and got the following errors:


rc is not recognized as an internal or external command, operable program or batch file -I guess it refers to the qsqlmysqld_resource.rc file here-

NMAKE: fatal error U1077: 'rc': return code 0x1
Stop.

NMAKE: fatal error U1077: C:\Program Files(x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe return code 0x2
Stop.



What could be the issue here? Thanks.

ObiWanKenobe
20th May 2012, 20:22
It looks like that the Resouce Compiler (rc.exe) is not in the PATH env. variable.
I would compile Qt libraries + MySql plugin within the Visual Studio command line.