[Qt-interest] Tapping into the linker scripts with qmake
Nikos Chantziaras
realnc at arcor.de
Wed Jul 6 21:25:52 CEST 2011
On 07/06/2011 10:12 PM, Thiago Macieira wrote:
> Em Wednesday, 6 de July de 2011, às 21:16:46, Nikos Chantziaras escreveu:
>> When using mingw, qmake is using linker scripts to link the final *.exe.
>> I wonder if someone knows of some hack I could do to tap into the
>> linker scripts generated by qmake. Case in point, I need to insert this
>> into the generated script:
>>
>> SECTIONS {
>> .rsrc : {
>> KEEP(*(.rsrc))
>> }
>> }
>>
>> Right now, after calling qmake, I need to manually edit the generated
>> "object_script.MyApp.Release".
>
> Can't you simply add a new script to the linker? Won't it process both of
> them, in order?
I'm not sure. How can I add a new script?
More information about the Qt-interest-old
mailing list