- Qt Creator Documentation
- Specify a custom executable to run
- Qt Creator 19.0.0-beta2

Set the default build and run directories ◦ Use MCP client

# Specify a custom executable to run

If you use Meson or the generic project type, or want to run a custom desktop executable, create a Custom Executable run configuration for your project. For example, when working on a library, you can run a test application that links against the library.

To specify a custom executable to run:

1. Select Add > Custom Executable.

2. In Executable, specify the path to the executable.
3. In Command line arguments, enter the path to the file to run.

See also Configure projects for running and Import an existing project.

Set the default build and run directories ◦ Use MCP client