Move/Re-locate Qt6 installation
-
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.Has something changed for Qt6 since then?
Is there any other option than re-installing everything as @SimonSchroeder suggested here? -
@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.
-
@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 ;-) -
-
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.