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. [SOLVED] Installing Qt 5.2 without wiping previous versions
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Installing Qt 5.2 without wiping previous versions

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 3.6k 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.
  • F Offline
    F Offline
    frankiefrank
    wrote on last edited by
    #1

    I've been working with Qt 5.1.0 and maintaining code for Qt 4.8.3. Both versions live side by side in C:\Qt.

    I now ran the Windows (online) installer for Qt 5.2 and while offering the path C:\Qt as a default, the installer tells me :
    "You have selected an existing, non-empty folder for installation.
    Note that it will be completely wiped on uninstallation of this application.
    It is not advisable to install into this folder as installation might fail".

    What should I do? I don't want to start a different parent folder just for this Qt version but I also don't want to lose my previous versions. Am I misunderstanding the notification message?

    "Roads? Where we're going, we don't need roads."

    1 Reply Last reply
    0
    • F Offline
      F Offline
      frankiefrank
      wrote on last edited by
      #2

      I ended up installing to a separate parent folder but if anyone has input, I'd appreciate it.

      "Roads? Where we're going, we don't need roads."

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

        Hi,

        I presume you installed Qt 5.1 through an offline installer?

        The online installer is designed to let you install multiple versions side-by-side, although it won't "adopt" your existing offline copy of Qt 5.1.

        When a new Qt version is released in the, run MaintenanceTool.exe (in the root of your online installation) to add the new version to your system.

        If you don't mind, you can uninstall your offline Qt 5.1 and re-install it through the online installer. Then you'll have all versions of Qt 5 managed through MaintenanceTool.exe.

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

        1 Reply Last reply
        0
        • F Offline
          F Offline
          frankiefrank
          wrote on last edited by
          #4

          JKSH, thanks for your reply. But the main issue for me is not to lose the Qt 4.8.3 version that I currently had installed in C:\Qt. That's why I ended up installing Qt 5.2 to a separate parent folder - with the web installer.

          Or would there be a way to not lose the older version?

          "Roads? Where we're going, we don't need roads."

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

            You could move C:\Qt\4.8.3\ to a different folder temporarily, install the Qt 5 package manager into C:\Qt, and then move Qt 4.8.3 back. Then you'd have a structure like this:

            C:\Qt\MaintenanceTool.exe
            C:\Qt\Tools\QtCreator*
            C:\Qt\4.8.3* <-- NOT managed by the package manager
            C:\Qt\5.2.0*

            The package manager doesn't mind having "extra" folders in its root.

            P.S. Qt 4.8.5 is a bugfix release that is fully compatible with Qt 4.8.3 -- I'd recommend upgrading.

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

            1 Reply Last reply
            0
            • F Offline
              F Offline
              frankiefrank
              wrote on last edited by
              #6

              Thanks for that! I'll consider this configuration. As for Qt 4.8.5, most of the efforts are now put into the upgrade to Qt 5.2, so I guess the previous version will stay 4.8.3 for now.

              "Roads? Where we're going, we don't need roads."

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

                You're welcome :) Happy coding!

                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