Reinstall Qt 4.5.2 on Windows for a C++ project under vs2010



  • I installed Qt 4.5.2 on windows Xp. My C++ project under VS2010 worked well but I moved the Qt folder afterwards !!!

    I tried to reinstall it but i failed. I tried different options with configure but it didn't help me.

    • configure -platform win32-msvc2008 :
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\bin\nmake.exe"' : return code '0x2' ...
    • configure & nmake and then open VS2010 to change Qt version :
      This Qt version uses an unsupported makefile generator (used: MSVC, supported MSVC.NET, BUILD)

    I also tried to reinstall the add-in 1.1.11, but it didn't work too.

    If anybody have a miracle solution, please tell me, i am dying ...
    Thank you in advance


  • Moderators

    Do not move Qt installation about, ever, on any platform. It will not work ;) Right now you can either try doing some magic with qt.conf file (it's syntax and usage is in the documentation), or uninstall/ remove everything and install a fresh Qt installation in your new location.



  • I heard of qt.conf but i removed my old Qt folder.
    I try to install a fresh Qt installation but it never worked.
    I don't know how to uninstall Qt properly....


  • Moderators

    Hi,

    Please show us some of the error messages you get. It is hard to know what's going on without them.

    [quote author="love3dom" date="1387471975"]i removed my old Qt folder.
    I try to install a fresh Qt installation but it never worked.
    I don't know how to uninstall Qt properly....[/quote]If you removed your old Qt folder without uninstalling it properly, your installer database is probably damaged. (NEVER do this for any program)

    Try installing Qt on another Windows XP PC (make sure you use the same path as your original PC), copy the Qt folder back to your original PC, and run the uninstaller.



  • By installing Qt, I mean I downloaded sources, use configure and nmake. So I don't know how am I supposed to uninstall it ?



  • I get this error message when i try to add a new Qt version in Visual Studio 2010:
    This Qt version uses an unsupported makefile generator (used: MSVC, supported MSVC.NET, BUILD)



  • I found a way to fix it with this link:
    http://blog.kikicode.com/2011/09/qt-version-uses-unsupported-makefile.html

    And I set the DefaultQtVersion register.


  • Moderators

    Hi,

    Glad to hear that you've resolved your issue! Thank you for sharing your fix.

    [quote author="love3dom" date="1387535740"]By installing Qt, I mean I downloaded sources, use configure and nmake. So I don't know how am I supposed to uninstall it ?[/quote]Ah, I thought you meant you used a binary installer. Ignore my previous post. :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.