Results 1 to 8 of 8

Thread: how do I clean QT? (Before rebuilding it)

  1. #1
    Join Date
    Oct 2010
    Posts
    48
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question how do I clean QT? (Before rebuilding it)

    Hi,
    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?

    Thanks

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how do I clean QT? (Before rebuilding it)

    The command you should run is: nmake distclean before running configure again.

  3. #3
    Join Date
    Oct 2010
    Posts
    48
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how do I clean QT? (Before rebuilding it)

    Thanks!
    I think there's also a configure clean thing... and how do I do that?

  4. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how do I clean QT? (Before rebuilding it)

    I don't know a clean for configure, i also checked the official tutorial and it says only about nmake distclean.

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

  5. #5
    Join Date
    Oct 2010
    Posts
    48
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how do I clean QT? (Before rebuilding it)

    '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.

    Thanks!
    Last edited by gilamran; 20th December 2010 at 20:44.

  6. #6
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how do I clean QT? (Before rebuilding it)

    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 and build Qt with VS2005.
    The link is to the LGPL version.

  7. #7
    Join Date
    Oct 2010
    Posts
    48
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how do I clean QT? (Before rebuilding it)

    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...

    http://get.qt.nokia.com/qtsdk/qt-sdk...ce-2010.03.exe
    http://get.qt.nokia.com/qtsdk/qt-sdk...ce-2010.04.exe

    Anyone knows what's the diff?

  8. #8
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how do I clean QT? (Before rebuilding it)

    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 site, you can download older releases there.
    Choose the file qt-everywhere-opensource-src-VERSION_YOU_NEED

Similar Threads

  1. Rebuilding Qt 4.5.0
    By mpele in forum Installation and Deployment
    Replies: 9
    Last Post: 23rd May 2013, 16:05
  2. Missing file errors when Rebuilding example projects
    By Thomas Wrobel in forum Newbie
    Replies: 1
    Last Post: 8th January 2010, 12:13
  3. clean exit!!
    By Raajesh in forum Qt Programming
    Replies: 1
    Last Post: 17th June 2008, 16:33
  4. mingw32-make keeps rebuilding
    By baray98 in forum General Programming
    Replies: 11
    Last Post: 10th March 2008, 18:19
  5. Qt rebuilding and source change
    By jgreetham in forum Installation and Deployment
    Replies: 2
    Last Post: 12th September 2007, 17:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.