QMYSQL Build Issue -Qt 4.8.0 MSVC 2010- [SOLVED]
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
NMAKE: fatal error U1077: C:\Program Files(x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe return code 0x2
What could be the issue here? Thanks.
Your Microsoft development environment is not correctly set up or installed. RC.exe is the Windows resource compiler.
[quote author="ChrisW67" date="1338110228"]Your Microsoft development environment is not correctly set up or installed. RC.exe is the Windows resource compiler.[/quote]
Thanks, how can I overcome this?
"The vcvars32.bat file sets the appropriate environment variables to enable 32-bit command-line builds. For information on how to enable a 64-bit toolset at the command line, see How to: Enable a 64-Bit Visual C++ Toolset at the Command Line.
Note that if you are doing command-line builds with DEVENV, vcvars32 settings will have no affect on your builds, unless you also specify the /useenv option.
To run vcvars32.bat
At the command prompt, change to the \bin subdirectory of your Visual C++ installation. Run vcvars32.bat by typing VCVARS32.
You would do that from your Qt Command Prompt.
Took care of the problem, thanks for the reply.