[QBS] Creator code style

Tyler Daniel tyler at rosette-research.com
Mon Sep 28 09:58:17 CEST 2015

Hi, thanks for the response.

Both the qmake and qbs projects in my workspace build fine.

I understand that the code style settings are not logically related to the build system.  But I observe that custom settings have no effect on the 8 qbs projects and do have effect on the 3 qmake projects in my workspace.

I was hoping that someone else using qbs and Creator might try to change the indent, for example, and see if it works.  If it doesn’t I’ll report it as a bug.

I asked on the Tools forum, but no one has responded.  It seems that, unfortunately, the vast majority of Qt users do not use qbs.


> On 2015/09/28, at 16:52, Christian Kandeler <christian.kandeler at theqtcompany.com> wrote:
>> Does Creator’s code style work for anyone when using qbs?
>> I’ve tried creating custom settings and applying them at the global and project level (and both) but the settings are never applied.  (E.g., I set indent to be two spaces in the custom settings, but indent always inserts four.)
>> The settings work as expected with qmake-based projects open in the same workspace.
> These settings are not related to the build system. The only possible 
> explanation I have is that the Kit you use with qbs is invalid so that 
> Creator does not find some included file and the C++ parser gets 
> confused. In that case, your project should not compile either.
> Christian
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

More information about the Qbs mailing list