[PyQt] Support for relocated Qt installations.
jknox at irobot.com
Mon Jan 11 21:03:59 GMT 2010
Giulio Eulisse wrote:
>> The build system on my project is similar in that I can build stuff in one place and install it wherever
>> I want. Relocating Qt caused me no end of headaches. All of the documented or suggested solutions
>> never seemed to work quite right.
> I feel your pain... ;)
>> I "solved" this problem by using the qpatch program, included with qt-creator.
> Given that qtcreator is not part of our distribution, that would be not so straight forward for us, but thanks anyways for your suggestion. I'll keep this in mind, in case we encounter problems with the current solution (we have not so far).
Yeah, we don't require qt-creator either. I just "borrowed" qpatch
binary from the creator package and use it in our build system.
> BTW, does that work even in the case the relocated path is longer than the original one?
Heh, the trick here is to make sure the original build's install prefix
is reallllllly long. Again, that's what Qt does for its official builds.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt