3

I'm working with qtcreator 3.5.0 and custom build of QT 5.5.0 I want to build my project both with qbs & qtcreator. So, I've created qbs profile, as described in qbs manual, and it works well. But I've failed to force qtcreator use this profile. It creates it's own profile, based on mine, but with different name.

e.g. `qtc_Desktop-debug` & `qtc_Desktop_0aa29aa9-debug`

The problem is that build paths includes profile names. And even if I have completed build by qbs, I need to build all the sources again from qtcreator, if I want to use it.

vok1980
  • 504
  • 5
  • 14

1 Answers1

0

To copy exactly build done by QtCreator just copy command displayed in project configuration details (to make thinks easier you probably want to wrap it in script file):

enter image description here

BTW: QtCreator's QBS profiles are direct copies of your build Kits configuration (set in Tools > Options > Build & Run > Kits) so if you need to tune it you should do it there.

dimril
  • 398
  • 3
  • 7
  • First I need to create qbs profile from commandline. And then use the existing profile in qtcreator, not vice versa. – vok1980 Sep 05 '16 at 09:37
  • Is your profile impossible to duplicate via QtCreator's Kits settings? I got following problem: QtCreator kept compiling my C++ with gcc, not g++. It apeared that my Kits were broken in the first place. – dimril Sep 05 '16 at 10:47