Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Reinstall Qt 4.5.2 on Windows for a C++ project under vs2010
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    love3dom
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      0
      • L Offline
        L Offline
        love3dom
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          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.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • L Offline
            L Offline
            love3dom
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • L Offline
              L Offline
              love3dom
              wrote on last edited by
              #6

              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)

              1 Reply Last reply
              0
              • L Offline
                L Offline
                love3dom
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

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

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved