- Qt Creator Documentation
- Run on the desktop
- Qt Creator 20.0.0

Run on remote Linux devices ◦ Set the default build and run directories

# Run on the desktop

To specify settings for running applications on the Run device that you select for a kit, go to Projects > Run Settings.

## Working directory

You can specify command-line arguments to be passed to the executable and the working directory to use. The working directory defaults to the directory of the build result.

Select Deploy Settings > Add Deploy Step > CMake Install to add the install option. It runs installation without using the generated build system or the native build tool. Qt Creator automatically adds the value of the Working directory field as the installation directory in the `--install` signature.

## Run in terminal

For console applications, select Run in terminal. To specify the terminal to use on Linux and macOS, go to Preferences > Environment > System. To use an internal terminal, go to Preferences > Terminal > Use internal terminal.

## Linker libraries

When building an application, Qt Creator creates a list of directories where the linker will look for libraries that the application links to. By default, the linked libraries are made visible to the executable that Qt Creator is attempting to run. Usually, you should disable this option only if it causes unwanted side-effects or if you use deployment steps, such as `make install`, and want to make sure that the deployed application will find the libraries also when it is run without Qt Creator.

To disable library linking for the current project, clear Add build library search path to PATH. To disable library linking for all projects, go to Preferences > Build & Run > General and then clear Add linker library search paths to run environment.

## Debug linked frameworks

On macOS, select Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) to debug (for example, step into) linked frameworks, such as the Qt framework itself. You do not need this option for debugging your application code.

## Filter logging categories

To turn on filtering for logging categories (QLoggingCategory) in Application Output, select Enable logging category filtering.

## Run as a different user

On Linux and macOS, select Default, root or Other in Run as user to build, deploy, and run the application with different permissions.

See also Configure projects for running, Specify a custom executable to run, and Specify the run environment.