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

Tim Hutt tdhutt at gmail.com
Wed Feb 25 14:03:46 CET 2015


Exactly what I wanted, thanks!

On 25 February 2015 at 11:10, Christian Kandeler <
christian.kandeler at theqtcompany.com> wrote:

> 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
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150225/ec7d445f/attachment.html>


More information about the Qt-creator mailing list