Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Move/Re-locate Qt6 installation
QtWS25 Last Chance

Move/Re-locate Qt6 installation

Scheduled Pinned Locked Moved Solved General and Desktop
move qtqt installationqt directoryqt pathrelocate qt
4 Posts 3 Posters 580 Views
  • 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.
  • P Offline
    P Offline
    Pl45m4
    wrote on 29 Mar 2024, 20:11 last edited by
    #1

    As per title, I want to move my whole Qt installation directory, which also includes QtCreator, QtDesign Studio and everything else installed using the Online Installer to a different location (new dedicated dev partition).
    I found some older topics and articles on this, but most of them seem to be for custom Qt builds only and not when the Online installer was used to set the install paths for everything.

    • https://www.qt.io/blog/qt-is-relocatable

    Has something changed for Qt6 since then?
    Is there any other option than re-installing everything as @SimonSchroeder suggested here?


    If debugging is the process of removing software bugs, then programming must be the process of putting them in.

    ~E. W. Dijkstra

    C 1 Reply Last reply 30 Mar 2024, 01:51
    0
    • P Pl45m4
      29 Mar 2024, 20:11

      As per title, I want to move my whole Qt installation directory, which also includes QtCreator, QtDesign Studio and everything else installed using the Online Installer to a different location (new dedicated dev partition).
      I found some older topics and articles on this, but most of them seem to be for custom Qt builds only and not when the Online installer was used to set the install paths for everything.

      • https://www.qt.io/blog/qt-is-relocatable

      Has something changed for Qt6 since then?
      Is there any other option than re-installing everything as @SimonSchroeder suggested here?

      C Offline
      C Offline
      ChrisW67
      wrote on 30 Mar 2024, 01:51 last edited by
      #2

      @Pl45m4 said in Move/Re-locate Qt6 installation:

      Is there any other option than re-installing everything as SimonSchroeder suggested here?

      Probably, after all the installer does it somehow, but reinstall is by far the most expedient and bulletproof option.

      Your options may also differ by platform.

      P 1 Reply Last reply 30 Mar 2024, 18:35
      0
      • C ChrisW67
        30 Mar 2024, 01:51

        @Pl45m4 said in Move/Re-locate Qt6 installation:

        Is there any other option than re-installing everything as SimonSchroeder suggested here?

        Probably, after all the installer does it somehow, but reinstall is by far the most expedient and bulletproof option.

        Your options may also differ by platform.

        P Offline
        P Offline
        Pl45m4
        wrote on 30 Mar 2024, 18:35 last edited by Pl45m4
        #3

        @ChrisW67 said in Move/Re-locate Qt6 installation:

        Your options may also differ by platform.

        Windows.

        Probably, after all the installer does it somehow, but reinstall is by far the most expedient and bulletproof option.

        Yeah, "somehow"... :)
        Thought I could easily modify some config files and change some paths here and there and it will work. But somehow the Qt dir is integrated everywhere. I can't even start QtCreator because as soon as it is looking for updates, the Maintenance Tool / Updater wasn't found anymore. And even when I got something to work, suddenly other modules started to complain that XYZ cannot be found/located...

        I was hoping that it will be less pain... annoying to download everything again and install like 80GBs or so :/
        (but will be the cleanest solution for sure)

        Will close this now...
        If somebody has the right steps to safely move Qt and its Tools to a different location, please let me know ;-)


        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        1 Reply Last reply
        0
        • P Pl45m4 has marked this topic as solved on 30 Mar 2024, 18:40
        • S Offline
          S Offline
          SimonSchroeder
          wrote on 2 Apr 2024, 06:22 last edited by
          #4

          You might get lucky by calling qmake -set QT_INSTALL_PREFIX=... (https://doc.qt.io/qt-6/qmake-environment-reference.html). Maybe this doesn't work for Qt Creator, but then you'd only need to reinstall Qt Creator.

          1 Reply Last reply
          0

          1/4

          29 Mar 2024, 20:11

          • Login

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