On Sun, Jan 26, 2025 at 08:06:02PM +0100, Andrzej Telszewski wrote:
> Hello,
> 
> I wanted to ask if there is something like `Project` variables?
> 
> I know there are variables for the active project, like
> `%{ActiveProject:FilePath}`,
> but what about an opened project, that is not the active one?
> 
> My use for project variables is when I have a couple of projects open,
> and want to e.g. build one that is _not_ currently active, but I still
> want to use some of the variables.
> 
> Thanks for help!
 
You need some kind of "entry point" into the macro system.

Depending on your use case, %{CurrentDocument:Project:...} may play 
this role.

Andre'
-- 
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to