[Qt-creator] Remote GDB debugging.

Tim Sander tim at krieglstein.org
Sun Jun 15 23:26:56 CEST 2014


Hi Dennis
> I now watch your video, and I noticed that in the Qbs project you use
> inclusion of linker scripts (*.ld) through cpp.linkerFlags property.
> But recently I presented a patch to Qbs which allows to set files of a
> linker through cpp.linkerScripts: ["file1.ld", "fileN.ld"] property:
> 
> https://bugreports.qt-project.org/browse/QBS-472
> 
> Seems, it  should be available from Qbs v1.2, that is in QtCreator v3.1.
> 
> Can you please check this feature on your side?
So you mean removing -T linker_skript.ld and moving it to cpp.linkerScript    
cpp.linkerFlags:[
        "-flto","-mthumb","-mcpu=cortex-m0","--specs=nano.specs","-Wl,--start-
group",
        "-Wl,--gc-sections","-lnosys","-lgcc","-lc"]
    cpp.linkerScripts: [path+"/"+mbed+"targets/cmsis/TARGET_"+vendor+
        "/TARGET_STM32F4XX/TOOLCHAIN_"+toolchain+"/STM32F407.ld"]

That works with qtc for workgroups ;-).

Best regards
Tim



More information about the Qt-creator mailing list