Hi All,
I met a problem when trying to compile the mysql.pro under the source folder "C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\m ysql".
The guide that I followed is from the following link:
http://www.cadcoder.com/index.php?id=51
When the following command is executed:
qmake "INCLUDEPATH+=%mysql%\\include" "LIBS+=%mysql%\\lib\\libmysql.lib" -o Makefile mysql.pro
It generates Makefile, Makefile.Debug, and Makefile.Release.
The problem occurs when I try to run nmake.
I realised that inside Makefile.Debug file, it contained:
C:\QtSDK\QtSources\4.8.1\bin\moc.exe
This executable doesn't not exist in the above directory. Instead it is in the folder of "C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin".
I think that causes compiling errors.
How can I fix it?
Any idea?
Thanks.
Added after 1 15 minutes:
problem solved by re-installing QtSDK.
Bookmarks