views:

209

answers:

3

Hello, how can I change Qt install path after I building it ?

Example : qmake.exe search binaries to original install path, how can I change/redefine it ?

Thanks.

Edit : I finally found this patch to apply to Qt :

+1  A: 

On unix you can make a symbolic link, otherwise you probably need to rebuild it

Martin Beckett
+1  A: 

On Unix/Linux:

You can also use LD_LIBRARY_PATH+PATH for workarounds. But still, some defaults are hardcoded in the code, yes. A rebuild is a must.

elcuco
+1  A: 

I can answer it for windows, not so sure about others. Remove the path variables if any present in the environmental variable PATH.

In Qt-Creator goto,

Tools->Options->Qt4->Qt Versions

In the right hand side area, you will find Auto- Detected and Manual. Under Manual add a new entry by clicking the + symbol in the far right. Specify the QMake location by clicking Browse . Change the Default Qt Version to your newly specified Version. Of course, you have to re -build the application. Hope that it helps.

liaK