Back to Blog home

qbs 1.2.0 released

Published on Monday May 05, 2014 by Jörg Bornemann in Build system | Comments

We're happy to announce the release of qbs 1.2.0! Qbs, or Qt Build Suite, is a general cross-platform build tool with a QMLish project description language. More information can be found on its documentation page.

This version fixes a lot of bugs and adds a heap of features that you requested. The qbs plugin of Qt Creator 3.1.0 is already based on qbs 1.2.0.

Qbs now supports rules with a flexible number of outputs.  For example, you may write an IDL file containing the descriptions of several C++ interfaces. An interface compiler generates a number of header files. The generated header files are automatically taken into account as potential dependencies. Changing the content of the IDL file is fully tracked, leading to a rebuild of the affected parts of your project. This is of course not special-cased for the IDL use case. This feature is useful for any kind of code generator (e.g. flex/bison) where you can specify in the source what kind of files are generated and how these files are named.

Another use case for those dynamic rules is moc. We've adapted the moc handling of qbs to use dynamic rules and got rid off the lengthy "automoc" scanning phase before every build.

Other changes worth mentioning:

  • Incremental builds got more robust.
  • Thanks to Jake Petroules we now have modules for creating Windows installers based on NSIS or WiX (MSI).
  • JavaScript files can load qbs extensions and other JavaScript files, similar to Qt.include in QML.
  • The memory footprint has been reduced significantly.

Where do I get it?

Source packages and a binary package for Windows can be found here.
Enterprise customers can download the enterprise version of qbs from Qt Account.

Other resources

Wiki: http://qt-project.org/wiki/qbs
Documentation: http://qt-project.org/doc/qbs-1.2/index.html
Bug tracker: https://bugreports.qt-project.org/browse/QBS
Mailing list: http://lists.qt-project.org/mailman/listinfo/qbs

Subscribe to Our Blog

Stay up to date with the latest marketing, sales and service tips and news.

We are updating our comment system and you could face some issues. Please write to us at feedback@qt.io to report issues/bugs.