[QBS] Programatically creating kits, profiles and toolchains.

Tim Hutt tdhutt at gmail.com
Wed Feb 25 12:04:26 CET 2015


Hi,

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.

Cheers,

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150225/97c7c0bd/attachment.html>


More information about the Qbs mailing list