Changing build directoy
-
I recently upgraded kubuntu, after the build files showed up in project folder, instead of creating a different folder, if folder did not already exist.
Qt Creator looks the same.
Where and how to set build directory? -
solved by checking shadow box under Projects tab, left side of Qt Creator, and replaced default directory with
../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")} -
Hi,
One thing you can check is the Default Build Properties in the Build and Run part of the preferences.
-
@SGaist said in Changing build directoy:
Hi,
One thing you can check is the Default Build Properties in the Build and Run part of the preferences.
first place I looked, and keep going back to.
also keep looking at .pro file -
Which version of Qt Creator are you using ?
One other thing you could do is move the
.pro.user
out of your sources so you can reconfigure the project when opening with Qt Creator to see if things go back to normal. -
@SGaist said in Changing build directoy:
Which version of Qt Creator are you using ?
One other thing you could do is move the
.pro.user
out of your sources so you can reconfigure the project when opening with Qt Creator to see if things go back to normal.Qt Creator 6.0.2
deleting '.pro.user' xhanged nothing
-
Default build directory '../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")}'
but does not make it anywhere
-
@micha_eleric 6.0.2 is quite outdated, you might want to consider getting a more recent version.
That said, if I remember correctly, in these old versions there was a checkbox somewhere that allowed to choose whether you wanted to do an out of source build. Did you find it ?
-
@SGaist said in Changing build directoy:
@micha_eleric 6.0.2 is quite outdated, you might want to consider getting a more recent version.
That said, if I remember correctly, in these old versions there was a checkbox somewhere that allowed to choose whether you wanted to do an out of source build. Did you find it ?
lol, no, I have looked, and relooked, and scream looked.
I will look againyep, not under build & run
-
I don't have that version at hand but I don't think it has moved that much.
Go to the Projects panel and check the build settings. There should be somewhere a "Shadow build" checkbox. This one should be checked by default but it maybe it was changed for some reasons.
-
@SGaist said in Changing build directoy:
I don't have that version at hand but I don't think it has moved that much.
Go to the Projects panel and check the build settings. There should be somewhere a "Shadow build" checkbox. This one should be checked by default but it maybe it was changed for some reasons.
I have read about shadow build, but have not seen it.
I found shadow build under projects tab on left side of Qt Creator, it makes separate directory, but does not use '../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")}'
-
solved by checking shadow box under Projects tab, left side of Qt Creator, and replaced default directory with
../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")} -