[Interest] using Environment vars in build params?

David M. Cotter dave at kjams.com
Wed Jan 20 03:57:17 CET 2021


On Windows, I go to the menu bar and pick Tools -> Options… -> Kits, i select my Kit, then next to "Environment" i click "Change", then enter some key/val pairs, eg:

> OS_LONG_NAME=Windows
> OS_SHORT_NAME=win
Then in my project, i click the "Projects" button, then click "Build", and i check "shadow build", then in "Build Directory" i use:

> %{Env:OS_SHORT_NAME}
> 

as part of the path

however, that environment var doesn't resolve.

what's going on?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210119/778416d8/attachment.html>


More information about the Interest mailing list