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.

    {Run settings for custom executables}

  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.

© 2024 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.