Qt Creator Documentation

Using Command Line Options

You can start Qt Creator and specify some options from the command line.

To specify command line options, enter the following command in the Qt Creator installation or build directory:

qtcreator [option] [filename]

For example:

C:\qtcreator-2.1\bin>qtcreator -help

The following table summarizes the available options:

OptionDescription

-help

Display help on command line options.

-version

Display Qt Creator version.

-client

Attempt to connect to an already running instance of Qt Creator.

-noload <plugin>

Do not load the specified plugin.

-profile

Load profile plugin.

-color <color>

Core plugin: override the selected UI color.

-disable-cdb

Debugger plugin: disable the Microsoft Console Debugger (CDB) engine. For more information, see Debugging.

-disable-gdb

Debugger plugin: disable the GNU Symbolic Debugger (gdb) engine.

-disable-sdb

Debugger plugin: disable the Qt Script debugger engine.

-debug <PID-or-corefile>

Debugger plugin: attach to process ID or core file.

-wincrashevent <event-handle>

Debugger plugin: Attach to crashed processes by using the specified event handle.

-customwizard-verbose

ProjectExplorer plugin: display additional information when loading custom wizards. For more information about custom wizards, see Adding New Custom Wizards

-lastsession

ProjectExplorer plugin: load the last session when Qt Creator starts. Open the projects and files that were open when you last exited Qt Creator. For more information about managing sessions, see Managing Sessions.

[Previous: Creating Task List Files] [Next: Getting Help]

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

s.parentNode.insertBefore(ga, s); })(); -->