Hi, Shouldn't the default already provide this? It's using
%{BuildConfig:Name} for that.. BR, Christian ________________________________________ From: Qt-creator <qt-creator-boun...@qt-project.org> on behalf of Andrzej Telszewski <andr...@telszewski.com> Sent: Wednesday, May 24, 2023 10:06 AM To: qt-creator@qt-project.org Subject: [Qt-creator] Using build type in _Default build directory_ 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 -- Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator -- Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator