[Development] Non-movable Qt build

Thiago Macieira thiago.macieira at intel.com
Wed Jan 2 14:18:51 CET 2013


On quarta-feira, 2 de janeiro de 2013 14.01.02, Peter Kümmel wrote:
> On 02.01.2013 13:50, Yves Bailly wrote:
> > Le 02/01/2013 13:42, Thiago Macieira a écrit :
> >> On quarta-feira, 2 de janeiro de 2013 10.53.03, Yves Bailly wrote:
> >>> Does anyone knows where I could find the source code of the "official"
> >>> installer, or at least some information about what it does? Because the
> >>> installer does relocate the binaries, that would be a good starting
> >>> point
> >>> to relocate my own binaries...
> >> 
> >> It simply edits the qmake and QtCore DLL binaries, plus maybe some files
> >> in
> >> mkspecs, changing a placeholder prefix to the installation dir.
> > 
> > Editing binaries? hu, havent't done that since... a long time ;-) Changing
> > some
> Sounds like a really bad hack. And this was not changed in Qt 5?

No.

I know how to make a relocatable shared library on Linux (find the calling 
function's address in /proc/self/maps) and I know it's possible with some 
Win32 API, but I have no clue how to do it elsewhere. Therefore, I won't do 
it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130102/4cf4815d/attachment.sig>


More information about the Development mailing list