qbs command-line commands can be invoked as
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.
Builds a project.
Removes the files generated during a build.
Manages Qbs settings, such as preferences and profiles.
Opens a GUI application for managing Qbs settings, such as preferences and profiles.
Creates a Qbs project from an existing set of source files.
Dumps the nodes in the build graph to stdout.
Invokes a project generator, for example to create project files for another build tool.
Shows general or command-specific help.
Installs a project.
Lists all products in the given project.
Resolves a project without building it.
Runs an executable generated by building a project.
Starts a session for interacting with an IDE
Creates Qbs profiles for Android SDK and NDK installations.
Creates Qbs profiles for Qt installations.
Creates Qbs profiles for toolchains, such as GCC or MSVC.
Opens a shell with a product's environment.
Prints the Qbs version.
Shows the status of files in the project directory.
Marks the build as up-to-date.
© 2023 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.