[QBS] Programatically creating kits, profiles and toolchains.
Ray Donnelly
mingw.android at gmail.com
Wed Feb 25 15:25:58 CET 2015
On Wed, Feb 25, 2015 at 11:04 AM, Tim Hutt <tdhutt at gmail.com> wrote:
> 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=...
>
Qt Creator comes with a program called sdktool which is used to setup
kits. You can see it used it in MSYS2 here:
https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-qtcreator/qt-creator-x86_64.install
> 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
>
Cheers,
Ray.
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
More information about the Qbs
mailing list