Andre,
thanks once more for your perseverance.
Unfortunately, also this one does not work. The point is that Qt
Creator is sitting in between. It takes the string that I enter either
in the projects view or in the .user file in order to determine the
location for the CMake output.
I would have expected that a relative path being entered is relative
to the one that you can enter into the Options>Projects>directory
field, however, it is not. I work on Linux, and here a relative path
is determined from the ~/Documents directory. For the run settings,
its even more unclear; I have not been able to enter a relative path
that works.
I personally think it is a bug. But more suggestions are welcome!

2010/9/15 André Pönitz <[email protected]>:
> 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
>

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to