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.
Copyright © The Qt Company Ltd. and other contributors. 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.