[Qbs] qbs command line help vs. documentation on qbs.io needs clarification

Maximilian Hrabowski hrabowski at clausmark.com
Fri Jan 18 16:40:04 CET 2019

Thanks a lot,


On 18. Jan 2019, at 15:06, Christian Kandeler <christian.kandeler at qt.io<mailto:christian.kandeler at qt.io>> wrote:

On Fri, 18 Jan 2019 13:35:24 +0000
Maximilian Hrabowski <hrabowski at clausmark.com<mailto:hrabowski at clausmark.com>> wrote:

Further below the doc says: "The position of the property assignment is important. In the example above, the profile property is set for all build configurations that come afterwards.”

So my questions are:

- Is profile:xxx a property assignment or something special and should it come before the config:xxx parameters of after?

It's a special property for the command line, like "config". Whether or not you put it before or after the "config" value makes a difference only when building for several configurations at once, as explained in the documentation you quoted above.

- What means “debug” (qbs.io<http://qbs.io><http://qbs.io>) compared to “config:debug” (cmd help), which is right, which is outdated?

config:debug is right.

For my configuration, it does not work if config:debug comes before the profile, but i do not have any default profile set.

You'll need to clarify what you mean by that.

It seems

> qbs config:release profile:xxx

just works. but when i try to build both configurations

> qbs config:debug config:release profile:xxx

it fails with errors for configuration "release" (can’t resolve module “cpp”, “Qt.core” etc.), whereas

> qbs config:release config:debug profile:xxx

fails for “debug”. It seems the second config is not associated with the profile.

> qbs profile:xxx config:debug config:release

works for me. Maybe the latter does not do what i expect.


Qbs mailing list
Qbs at qt-project.org<mailto:Qbs at qt-project.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20190118/41225d87/attachment.html>

More information about the Qbs mailing list