[Qt-creator] Qbs support in Qt creator

Tobias Hunger tobias.hunger at digia.com
Tue Mar 12 11:38:34 CET 2013


Hello!

Qbs:
======

Qbs is a new build system using QML-like syntax. It is available here:
http://qt.gitorious.org/qt-labs/qbs

Qbs in Qt Creator:
====================

Support for the Qbs build system was added to Qt Creator shortly before 
the 2.7 branch was created. To ease building the Qbs plugin we recently
added a git submodule (optional!) to the Qt Creator repository.

If you do not care about Qbs, just continue doing what you have always 
done and ignore this mail:-)

If you do want to take a look at the Qbs plugin:

Initialize the submodule:
 > git submodule init
 > git submodule update

Now the Qbs code should be available in src/shared/qbs.

Building Creator with qmake:
-----------------------------

Now do a clean rebuild using qmake/make as usual to get the Qbs plugin. 
Make sure to rerun qmake!

Building Creator with qbs:
-----------------------------

If you want to use Qbs to build creator, you will have to
build Qbs separately since Qbs itself does not build using Qbs.

After building Qbs manually, set the QBS_SOURCE_DIR and QBS_BUILD_DIR 
environment variables pointing to the Qbs source/build directories you 
have used and then build Qt Creator using Qbs with those environment 
variables set.

Enabling the plugin:
---------------------

The Qbs plugin is still marked as experimental. To use it you will need 
to enable it in Help>About plugins (Mac: Qt Creator>About plugins).



Please report any issues you find in JIRA at
https://bugreports.qt-project.org/

Note that the Qbs plugin is not feature complete and not as well
integrated as the qmake build system at this time. It is at about the
same level as the other build system creators supports though.

Best Regards,
Tobias

-- 
Tobias Hunger, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin. USt-IdNr: DE xxx xxx xxx
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list