Not able to use Microsoft nmake compiler in Windows 7 -64 bit
-
wrote on 27 Jun 2011, 01:10 last edited by
Hi, I am new to QT. I have tried some of the samples and I noticed that in Windows 7, the tool chain or the compiler used is MinGW. I can't select or change to Microsoft compiler-nmake. I have already installed the Visual studio 2010 express edition.
thanks
-
wrote on 27 Jun 2011, 04:32 last edited by
Unless you compile the library's yourself you have to download the version of the Library's for Visual Studio http://qt.nokia.com/downloads/windows-cpp-vs2008 this will work with 2008 express edition to use 2010 you must download the source and compile the library's yourself. Unless something has changed lately
-
wrote on 27 Jun 2011, 06:01 last edited by
In case you want to compile manually you may want to see "this discussion on SO":http://stackoverflow.com/questions/5601950/how-to-build-qt-for-visual-studio-2010 those steps worked for me.
-
wrote on 29 Jun 2011, 03:08 last edited by
Hi, thanks for the response. I did manage to compile the Qt source code using visual 2010. However, I noticed that the Qt creator is not included.
Ideally, I would like to use qt creator and debugging, like setting break points from the Qt creator -
wrote on 29 Jun 2011, 05:46 last edited by
[quote author="mksuper" date="1309316933"]Ideally, I would like to use qt creator and debugging, like setting break points from the Qt creator[/quote]
You can use Qt Creator independently to which version of Qt you are using. Install Qt Creator and add the Qt you just compiled from Tools menu, Option, Qt4 section (left side), add a new version of Qt (give a name and location of qmake.exe)
Then you can use that version of Qt to compile your projects. In case you have you have more than one Qt Installed, you will need to specify version manually. -
wrote on 29 Jun 2011, 06:58 last edited by
<nitpick>nmake is not a compiler. It is just a tool that runs the actual compiler.</nitpick>
1/6