In QtCreator, if you want to modify the Build Directory
, in Projects/Build Setttings/General
, you can set a fixed path, like /var/tmp/some-dir
, or you can use the A->B
button to use QtCreator internal variables.
I am trying to get the value of the platform (win, mac, unix...), and architecture (x86, x64, arm...) defined in the current Kit from these internal variables, and use them to set the path to Build Directory
.
I searched a lot, asked a lot, and so far, nothing.
So, I am asking here: does anyone know from which QtCreator internal variables, like %Compiler:Name
, can I get the platform and architecture?
I suspect %CurrentRun:Env:<value>
or less likely $Compile:Name:<value>
, could be the one, but I could not find the possible values for the <value>
parameter anywhere.