On Tuesday 14 September 2010 22:15:20 ext Theo de Vries wrote: > 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??
I have no idea as I don't use cmake myself. Google finds for "cmake environment variable" http://www.cmake.org/pipermail/cmake/2003-September/004313.html as first hit and the response to that question contains You can reference the special $ENV{} variable to get environment values like any other CMake variable: MESSAGE("$ENV{LD_LIBRARY_PATH}") Maybe that would do the trick. Andre' _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
