<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Giulio Eulisse wrote:
<blockquote cite="mid:311C630E-AF3C-4A64-961B-00709574F3F7@cern.ch"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I feel your pain... ;) 


  </pre>
  <blockquote type="cite">
    <pre wrap="">I "solved" this problem by using the qpatch program, included with qt-creator.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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). 

  </pre>
</blockquote>
Yeah, we don't require qt-creator either. I just "borrowed" qpatch
binary from the creator package and use it in our build system.<br>
<br>
<blockquote cite="mid:311C630E-AF3C-4A64-961B-00709574F3F7@cern.ch"
 type="cite">
  <pre wrap="">BTW, does that work even in the case the relocated path is longer than the original one?

  </pre>
</blockquote>
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.<br>
</body>
</html>