How can I change the installation path of Qt after creating it?
Example: qmake.exe binaries for the original installation path, how can I change / override it?
Thank.
Edit: I finally found this patch applicable to Qt:
I studied this and found a way that works (in qt 4.7.2) by configuring qt with the qt.conf file.
In my case, I added qt4-4.7.2 / bin / qt.conf (I think it should be in the same place as the qmake executable)
With the following contents:
[Paths] Prefix = c:/my_path/to/qt4-4.7.2
qmake -query !
. http://qt-project.org/doc/qt-5.0/qtdoc/qt-conf.html
qmake qmake -set.. qmake.
qmake -set
, . , PATH.
PATH
Qt-Creator goto,
- > - > Qt4- > Qt
. , + . QMake, . Qt . , . , .
unix , , ,
Unix/Linux:
You can also use LD_LIBRARY_PATH + PATH for workarounds. But still, some default values ββare hardcoded in the code, yes. Restructuring is mandatory.