Qt

Setting Up a Qbs Project

The Qt Build Suite (Qbs) and the Qbs plugin are still experimental, and therefore, you must first enable the plugin manually. If you build Qt Creator yourself from our Git repository, you also need to fetch the Qbs submodule to get Qbs support.

To use Qbs to build a project, you must create a .qbs file for the project. For more information, see the Qbs Manual.

Enabling the Qbs Plugin

If you use a Qt Creator binary release, you need to enable the plugin by selecting Help > About Plugins > Build Systems > QbsProjectManager and restarting Qt Creator.

To build the Qbs plugin yourself from the Qt Creator git repository:

  1. Fetch the Qbs submodule in your Qt Creator git checkout with git submodule update --init.
  2. Run qmake on Qt Creator and build Qt Creator again.
  3. Enable the Qbs plugin as described above.

Building Applications with Qbs

To build your application with Qbs:

  1. Create a .qbs file for your project. For examples, see the tests\manual directory in the qbs repository.
  2. In Qt Creator, select File > Open File or Project.
  3. Select the .qbs file for your project.

  4. Click the (Run) button to run the application.