View Full Version : how do I clean QT? (Before rebuilding it)

20th December 2010, 20:37
I've compiled QT for VC9, and I want to clean everything. and Rebuild it all for VC8.
How do I clean, before I reconfigure and run make?


20th December 2010, 21:19
The command you should run is: nmake distclean before running configure again.

20th December 2010, 21:21
I think there's also a configure clean thing... and how do I do that?

20th December 2010, 21:27
I don't know a clean for configure, i also checked the official tutorial (http://doc.trolltech.com/4.7/install-win.html) and it says only about nmake distclean.

Also a good advice is to keep the sources you downloaded, i always keep that archive ;)

20th December 2010, 21:44
'nmake' is not recognized as an internal or external command,
operable program or batch file.

The only nmake.exe on my computer is from VC 2008... I'm uninstalling it anyways...

maybe qmake?

Added after 6 minutes:

ok, I found a way to do it...
I used the VC 2008, command line (it has its nmake.exe visible) and it's doing the distclean.


20th December 2010, 21:47
If you already uninstalled VS2008 try with the VS2005 nmake after you install it (i have some doubts that in will properly clean, but you can try that)

Or a better solution is to uninstall the VS2008 version of Qt, delete the folder and download the sources of Qt (http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.1.zip) and build Qt with VS2005.
The link is to the LGPL version.

21st December 2010, 02:35
I've decided to redownload the sourcecode, I need version 4.6.3.
And it seems that there are more than one release with that version...


Anyone knows what's the diff?

21st December 2010, 10:16
The SDK is builded with MingW (and installs MingW and Qt Creator IDE).

If you want to use Visual Studio it's recommended to download only the sources of Qt and build it yourself with the compiler you need (in your case the VC++ that came with VS2005)
I found this (ftp://ftp.trolltech.com/qt/source/) site, you can download older releases there.
Choose the file qt-everywhere-opensource-src-VERSION_YOU_NEED