[Qt-creator] [QtCreator] CMAKE_INSTALL_PREFIX overwritten with /usr/local
Christoph Mathys
eraserix at gmail.com
Mon Oct 31 13:20:12 CET 2016
Hi Tobias,
On Thu, Oct 27, 2016 at 3:57 PM, Tobias Hunger <Tobias.Hunger at qt.io> wrote:
> On Thu, 2016-10-27 at 15:40 +0200, Christoph Mathys wrote:
>> Is there a way to stop QtCreator from always passing
>> CMAKE_INSTALL_PREFIX? Or if not, can it automatically use the value
>> that is already configured in cmake instead of assuming /usr/local?
>
> No idea, sorry. I do not know where that setting comes from in your setup. It is
> definitely not set in mine.
Hmm, I had another look. Indeed, CMAKE_INSTALL_PREFIX is not found on
the cmake call done by QtCreator, sorry for that misinformation. I
guess I had some FUd kit configurations while experimenting.
But I still loose the setting of CMAKE_INSTALL_PREFIX when I change
anything in the current kit, for example edit its name. QtCreator then
invokes cmake, and for some reason cmake falls back to the default
prefix /usr/local. The same cmake call executed in a shell behaves as
expected. Does QtCreator manipulate CMakeCache.txt in any way in case
the kit is altered?
Thanks,
Christoph
More information about the Qt-creator
mailing list