Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
Qt Creator 4.4.1
Description
So problem appears when using QtCreator with cmake on Windows (in Linux sems to be working fine). No Qt used on Kit.
Whenever we reopen an already functioning project with cmake, configuration gets faulty. Seems to ignore last CMAKE_BUILD_TYPE, and when it compiles (and installs) it creates a "noconfig".cmake instead of the correct one.
It is strange as i dont even run cmake (i guess QtCreator does it when i reopen a session even if i have "autorun cmake" check disabled) but when rebuilding issue happens everytime
Being specific:
- I had working a library, with Debug configuration (*.cmake and binaries OK).
- Close Qt
- Open Qt and reopen last session
- Build project
Following this steps always appear this noconfig.cmake and binaries seem to be compiled in a strange configuration,
In order to fix it, i have to delete installed files and the whole build directory, re run cmake, and rebuild. Doing that everything works again fine (until next load of the project).