I'm trying to change the build output directory in QT Creator (i.e. instead of outputting to ./debug, I want to output to ../../bin/debug). I've tried to edit the build output directory via the Projects mode, but it's read only. Looking at the .pro file doesn't seem to have anything obvious for me to edit.
Also recently, newer versions of Qt have another little button on the right hand side of the "build directory" input field. It is has like a blue arrow on mine. Click it and you can view all the global build variables.
Right-click on the project node in Solution Explorer and select Properties. Expand the Build section, and select the Output subsection. Find the Base output path for C#, and type in the path to generate output to (absolute or relative to the root project directory), or choose Browse to browse to that folder instead.
Navigate to the project you wish to open in your file system, then just double-click on the . pro file (i.e. Warmup.pro ). This will open Qt Creator for you with this project.
I was having a permissions problem and Qt was unable to run the compiled program in my windows partition so I had to change the build path to run in Linux, to do this I edited the {projectName}.pro.user located in the project folder and changed the following variable(s) which may vary depending on you project settings):
<value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/new/path</value>
this value will belong to one specific target (release or debug) just see where tag belongs to.
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