On 01.10.2013, at 15:02, Orgad Shaneh <[email protected]> wrote: > On Mon, Sep 30, 2013 at 1:57 PM, Orgad Shaneh <[email protected]> wrote: > On Mon, Sep 30, 2013 at 1:07 PM, Tomasz Olszak <[email protected]> > wrote: > 2013/9/30 Ziller Eike <[email protected]> > > On 28.09.2013, at 19:34, [email protected] 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 they are custom commands then just wrap them in some shell scripts which > will resolve env variables. > > -- > regards / pozdrawiam, Tomasz Olszak > > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator > > > Patch proposal: https://codereview.qt-project.org/66896 > > - Orgad > > Hi, > > This patch is not needed. %VAR% works well on Windows (and $VAR should work > on Linux).
Hm, fancy. I thought I had explicitly tried this again, but you are right, $VAR also works for me on Mac. Sorry for the confusion. ++ Eike -- 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 _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
