Andre, thank you for the answer. This was what I used to do. However, now I work with a CMake project, hence, qmake is not called. So the point is: how to get this behavior in a CMake project??
2010/9/14 Andre Poenitz <[email protected]>: > On Tue, Sep 14, 2010 at 08:25:56PM +0200, Theo de Vries wrote: >> Danny, >> >> Thanks for the fast response. >> I've been doing what you suggested, but the problem is the same; it >> seems that I cannot specify an environment variable there either (or >> at least I don't know how). > > http://doc.trolltech.com/4.6/qmake-advanced-usage.html : > > To obtain the contents of an environment value when qmake is run, > use the $$(...) operator: > > DESTDIR = $$(PWD) > message(The project will be installed in $$DESTDIR) > > Andre' > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator > _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
