lixunguang / qt-msvc-installer

Automatically exported from code.google.com/p/qt-msvc-installer
0 stars 0 forks source link

Installation relocation is broken #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there, I have just installed the 
qt-win64-opensource-patched-4.6.3-vs2008.exe under Windows 7 x64 and I cannot 
get it use the installation directory; it insists on using C:\Qt\4.6.3_x64.  I 
did not have this issue with previous non-patched versions.

I have tried setting:
1) Setting %QTDIR% and adding %QTDIR%\bin to %PATH%.
2) Installing the ...\bin\qt.conf file.
3) Setting qmake 'persistent properties'.  qmake -query shows both the values I 
set and the hardcoded values.

Was this issue introduced by the 'patch'?

Cheers,
Andy

Original issue reported on code.google.com by trojan...@gmail.com on 3 Sep 2010 at 12:54

GoogleCodeExporter commented 9 years ago
There is nothing different about the patched vs. non-patched build when it 
comes to relocation. Qt _does_ hard code some paths during build time and 
frustrating as it is, and with everything I've tried in 
http://code.google.com/p/qt-msvc-installer/wiki/RelocationTricks there are 
certain times when it reverts to it's hard-coded paths.

What it comes down to is if at all possible, you want to use the default path 
(which is the path it was built in on the build machine). Sorry there isn't 
better news.

Original comment by gaber...@gmail.com on 3 Sep 2010 at 2:28

GoogleCodeExporter commented 9 years ago
OK thanks for the update - I will have another try at installing it.

-A

Original comment by trojan...@gmail.com on 3 Sep 2010 at 2:31