[Qt-creator] Set build environment variable from Qt Creator variable

Andrzej Telszewski andrzej at telszewski.com
Tue Feb 10 10:19:04 CET 2026


Hi,

how can I use QtC's variables expansion to set an environment variable 
(e.g. in build environment)?

Because if I do, say:

STAGING_DIR=%{Project:Path}/../staging_dir

the "%{Project:Path}" isn't really expanded.

Thank you.

--
Best regards,
Andrzej Telszewski



More information about the Qt-creator mailing list