[Qt-creator] [QBS] Programatically creating kits, profiles and toolchains.

Christian Kandeler christian.kandeler at theqtcompany.com
Wed Feb 25 12:10:40 CET 2015


On 02/25/2015 12:04 PM, Tim Hutt wrote:
>
> I'm trying to help people set up Qt Creator with a GCC ARM Embedded kit
> for compiling mBed programs. It's not too difficult but it is a bit
> annoying for newbies to have to follow a tutorial to set up a compiler.
>
> Is there any way to make this simpler? E.g. can I somehow
> programatically create a Qt Creator kit and maybe even set it as the
> default? Ideally I'd be able to run something like:
>
>      qtcreator.exe -addtoolchain path="c:/..../arm-none-eabi-g++.exe"
> name="Gnu Arm Embedded"
>      qtcreator.exe -adddebugger path=..
>      qtcreator.exe -addkit toolchain=... debugger=...
>
> Perhaps you do it with qbs-setup-toolchains? I'm not really sure of the
> relationship between QtCreator's Kits and QBS profiles though.

This has nothing to do with build systems. You want the sdktool. See
src/tools/sdktool/README.txt in the Creator sources.


Christian



More information about the Qt-creator mailing list