Is it possible to change the default Working directory in Qt Creator to specified path? Or is it possible to set Working directory in .pro file?
PS: I know about QDir::setCurrent, but searching for other ways
Old question but, as there is no accepted answer and I recently found this question while looking:
Tools > Options > Build & Run > General > enter the desired Projects Directory location in the provided text box, or use Browse to locate it.
Note: assuming Qt Creator 4.3.1 based on Qt 5.9.1, Linux x86-64
Qt Creator Online Doc: Specifying Run Settings
go to the projects tab and look in "build and run" for the run tab in the kit you are using
you will see the option there under "run"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With