[Qt-creator] Using build type in _Default build directory_
Andrzej Telszewski
andrzej at telszewski.com
Wed May 24 10:06:50 CEST 2023
Hi,
when configuring CMake based project, I would like the build directory
to contain the _build type_ in the directory path.
I tried putting:
- %{CurrentDocument:Project:BuildConfig:Name}
- %{ActiveProject:BuildConfig:Name}
- %{CurrentDocument:Project:BuildConfig:Type}
- %{ActiveProject:BuildConfig:Type}
in the _Default build directory:_ in Preferences -> Build & Run ->
Default Build Properties.
Unfortunately, when configuring the project, I get _empty_ or "unknown"
strings.
Is there any way to solve it?
Thank you!
--
Best regards,
Andrzej Telszewski
More information about the Qt-creator
mailing list