[Development] Non-movable Qt build

Peter Kümmel syntheticpp at gmx.net
Fri Jan 4 09:38:31 CET 2013


On 02.01.2013 14:18, Thiago Macieira wrote:
> 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.

Isn't the discussion here only about paths, different to how memory mapping is handled?

Peter



More information about the Development mailing list