Command-Line Interface

The qbs command-line commands can be invoked as qbs <command_name>.

This reference summarizes the command-line commands. The authoritative source of up-to-date information is the respective help screen, which you get by calling qbs help <command_name>.

Some commands are described in context in the Usage section of the manual.

build

Builds a project.

clean

Removes the files generated during a build.

config

Manages Qbs settings, such as preferences and profiles.

config-ui

Opens a GUI application for managing Qbs settings, such as preferences and profiles.

create-project

Creates a Qbs project from an existing set of source files.

dump-nodes-tree

Dumps the nodes in the build graph to stdout.

generate

Invokes a project generator, for example to create project files for another build tool.

help

Shows general or command-specific help.

install

Installs a project.

resolve

Resolves a project without building it.

run

Runs an executable generated by building a project.

setup-android

Creates Qbs profiles for Android SDK and NDK installations.

setup-qt

Creates Qbs profiles for Qt installations.

setup-toolchains

Creates Qbs profiles for toolchains, such as GCC or MSVC.

shell

Opens a shell with a product's environment.

status

Shows the status of files in the project directory.

update-timestamps

Marks the build as up-to-date.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.