[Qt-creator] CMake support

Mike Jackson imikejackson at gmail.com
Tue Jan 20 16:10:05 CET 2009


On 2009-01-20 09:48:58 -0500, Daniel Teske <daniel.teske at nokia.com> said:

> Hi
> 
> as some of you noticed, since a few days we have a CMake plugin included.
> It is work in progress, currently it doesn't really do much at all.If your
> project can be build on the command line with just cmake && make, then it
> probably builds also inside QtCreator. (E.g. if you need to pass command line
> options to cmake, that doesn't work.) You then can properly even run something
> from inside Qt Creator. [1]
> 
> Everything else properly doesn't work at all, yet. E.g. there is no syntax
> highlighting for the CMakeLists.txt files, nor any way to open it from the
> project tree. We list some files in the project tree, that don't belong there,
> and we are properly missing some. We don't pass the compiler output through
> the output parsers, since we don't have an idea which compiler is used.
> We don't listen to changes to the CMakeLists.txt files.
> Some of those are actually easy to fix.
> 
> So there's a lot to be done, before it even works for the basic tasks.
> 
> We haven't decided on which date the 1.0 release will be, but the current plan
> is either disable it for the 1.0 release, or add a warning that it is
> considered experimental code, which might not work for you.
> 
> If you want to help the code is in the repository, quite small and easy to
> read. If you have any questions, ask here or on irc in the #qt-creator channel
> on freenode.
> 
> daniel

Thank you so much for this. Even in the current state it is nice to see 
that there are plans to include support for CMake, which is what I was 
alluding to in my previous post.

 I look forward to trying a more recent snapshot of QtCreator. Maybe 
I'll jump in with some code patches for the CMake support. Would it 
also help of CMake itself had a QtCreator project generator? That way I 
can run cmake from the command line and produce proper QtCreator 
project files, or would that basically entail a CMake to qmake 
translation?

Mike




More information about the Qt-creator-old mailing list