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

Cristian Adam cristian.adam at gmail.com
Sun Mar 27 19:45:37 CEST 2016


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> 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?
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20160327/6a555b4b/attachment.html>


More information about the Qt-creator mailing list