[Qt-creator] Using environment variables with custom External Tools

Ziller Eike Eike.Ziller at digia.com
Mon Sep 30 09:04:09 CEST 2013


On 28.09.2013, at 19:34, achartier at fastmail.fm wrote:

> Hi,
> 
> I have a bundle of custom External Tools configured in Qt Creator that I
> want to share with the rest of my team. I'd like to be able to use some
> environment variables I have defined in the arguments that get passed to
> these scripts. Unfortunately, when I try using an environment variable
> in the Arguments textbox when defining the external tool in Qt Creator,
> it doesn't seem to be picking up and interpreting the environment
> variable.
> 
> Can arbitrary environment variables be used in this case?

No.
Br, Eike

> If so, what is
> the syntax? I have tried $MYVAR, $$MYVAR and other combinations without
> success.
> 
> Thanks!
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Qt-creator mailing list