[CMake] QtCreator generator?

David Cole david.cole at kitware.com
Fri Nov 11 13:44:59 EST 2011


On Fri, Nov 11, 2011 at 1:08 PM, David Doria <daviddoria at gmail.com> wrote:
> I saw a discussion about this back in March, but I didn't see any
> conclusions/resolutions. Is there a way to generate a QtCreator
> project using CMake? I tried the CMake support that was built into
> QtCreator itself, but it seems very awkward (you couldn't view/set
> variables, etc).
>
> Thanks,
>
> David
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>

I think it's true that QtCreator knows how to connect to a CMake build
tree generated with the "CodeBlocks - Unix Makefiles" generator.

Somebody out there, please correct me if I'm wrong. I don't use
QtCreator myself, but I think that's the way to do it.

I've heard rumor you can simply open the top level CMakeLists.txt file
in QtCreator, too, and it knows how to find all the source based on
that. Don't know if it will generate a build tree for you if there's
not one to start with...


HTH,
David C.


More information about the CMake mailing list