We are building Qt 5.10 internally, and installing it to a given prefix
on the build environments.
We would like to be able to relocate the installation (notably, but not only for, distribution). We are aware of qt.conf
, as pointed out by this answer.
Yet, is there a maintained way to directly edit the values of those hardcoded paths in the installed files?
EDIT:
More rationale behind why we thing qt.conf
is inferior to directly patching the binaries.
- On development machines, it means that instead of simply patching the installed binaries once, we have to provide a configuration file in each folder containing an application depending on Qt.
- Even worse than that, we discovered through failures (and the help of this post) that
qtwebengineprocess.exe
, in qtprefix/bin, expects its ownqt.conf
file, otherwise it will use the paths hardcoded in the libraries. This means that we have to touch the the library folder anyway, in otder to edit the configuration file to make it match the folder location on each development machine.