How to re-install source build to a different prefix without rebuilding?
Unsolved
General and Desktop
-
Building qt from source appears to hard-code the install prefix into some files. This prevents one from simply copying the install dir to another location. However, not one file installed by the Qt online installer contains the installation path in it (grep tells me this).
What is necessary to move a Qt installation that is built from source from one path to another? Is there a way to replace the paths in some binaries, or some config file? And any other changes that need to be made.
Cheers
-
You can use qt.conf.
Plus, since Qt 5.14, Qt is relocatable: https://www.qt.io/blog/qt-is-relocatable