[Qt-interest] Tapping into the linker scripts with qmake

Thiago Macieira thiago at kde.org
Wed Jul 6 21:12:14 CEST 2011


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?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110706/10146a2c/attachment.bin 


More information about the Qt-interest-old mailing list