[Qt-creator] Set up kits on the fly from Profile item in Qbs

Christian Kandeler Christian.Kandeler at qt.io
Mon Aug 12 13:11:05 CEST 2019

On Mon, 12 Aug 2019 11:32:24 +0200 (CEST)
"Richard Weickelt" <richard at weickelt.de> wrote:

> I am using Conan to manage project dependencies in a complex project (bare metal, not Qt). 
> I let it generate a qbs file containing a Profile item with all necessary module configurations. My top-level project file references that generated file to make use of it. That way I can manage *every* library dependency of my project, including toolchains via Conan. It works very well on command line across all operating systems and leads to an amazing efficiency boost when developing projects in heterogeneous environments (distributed team, different host OS, CI system, etc). 
> Now I am wondering if there is any possibility to make use of these inherent profiles in QtCreator when opening a project. It looks like I cannot even force a custom profile name in QtCreator's build configuration if I choose "Qbs build step".

When opening a project for the first time, you get the option to import an existing build. If no kit matches that build, a new matching kit is created.
However, the number of properties is fixed and very C++/Qt-centric.


More information about the Qt-creator mailing list