- Qt Creator Documentation
- Set the default build and run directories
- Qt Creator 20.0.0

Run on the desktop ◦ Specify Qt Quick UI Prototype run settings

# Set the default build and run directories

To set the default working directory for run configurations, go to Preferences > Build & Run > Default Build Properties.

## Set the default build directory

In the Default build directory field, you can use the variables that are listed when you select (Variables), as well as variables that are available for a particular kit. To see those, go to Projects > Build Settings and then select in the Build Directory field for a kit.

## Set the default working directory

In Default working directory, specify a template for constructing the default working directory of a run configuration. You can use the variables that are listed when you select .

You can also use the `QTC_DEFAULT_WORKING_DIRECTORY_TEMPLATE` environment variable to set a template for creating the default working directory.

See also Configure projects for building and Configure projects for running.