[CMake] QtCreator project generator

John Drescher drescherjm at gmail.com
Tue Mar 1 09:15:14 EST 2011


On Tue, Mar 1, 2011 at 6:45 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> QT-Creator which currently supports CMake by reading code::blocks project files.
>
> The problem with this is code::blocks project files don't write in
> #defines, so the IDE shows #ifdef's incorrecyly.
>
> For the short term I wrote a eclipse -> qtcreator project converter in
> python, which has a few hard coded values but could easily be made
> generic.
> http://www.pasteall.org/19595/python
>
> So I was wondering if CMake developers would accept a patch to add
> native generation of qtcreator project files?
>
> An alternative solutions could be to write defines into code::blocks
> files, or for qtcreator to read in eclipse files instead but qtcreator
> project files are quite simple to write so if this feature is
> acceptable I was thinking to try and write a patch.

Recent versions of QtCreator use CMakeLists.txt directly? Is there
something missing in this functionality?

John


More information about the CMake mailing list