[Qt-creator] 4.0 doesn't clean nor rebuild in cmake projects

Nikos Chantziaras realnc at gmail.com
Sun Mar 27 19:54:58 CEST 2016


Yep, that worked. Thanks!

Btw, do you know of a way to enable parallel builds globally? (For both 
cmake as well as qmake.) Right now, for every project, I need to edit 
the build step manually and add "-j4". Is there some global setting 
somewhere that I'm just not seeing?


On 27/03/16 20:45, Cristian Adam wrote:
> Delete your project's .user file and reload the project. Qt Creator
> should then work fine.
>
> Qt Creator creates a "clean" target for all projects. "cmake --target
> clean" should be the manual command in case you really need it.
>
> Cheers,
> Cristian.
>
> On Mar 27, 2016 18:10, "Nikos Chantziaras" <realnc at gmail.com
> <mailto:realnc at gmail.com>> wrote:
>
>     With cmake projects, the "clean" or "rebuild" functions in the build
>     menu don't do anything.
>
>     I assume this is not normal. Is there a proper way to fix that?
>     Currently, I just replaced the default command "cmake --build" with
>     "make clean". For some reason, cmake doesn't have a "--clean" option?





More information about the Qt-creator mailing list