[CMake] QT and CMake

Mike Jackson imikejackson at gmail.com
Tue Aug 1 09:19:02 EDT 2006


Hello,
    I am new to both CMake and QT and so far I like both. I have  
written some small CMake files for some of my projects and so far so  
good. Now I have a project that is based on QT and I would still like  
to stick with CMake instead of using yet another Makefile generator.

    If I use CMake to build my QT based app, do I still need to run  
qmake -MyProject.pro first to get the moc'ed headers and  
implementation files?
   I guess I just need a short primer on using the two make systems  
together.

I took a look at the VTK source where the QT files are to look at  
that CMakelists.txt but it didn't really answer my question.

Thanks for any help.
--------
Mike Jackson
imikejackson <at> gmail <dot> com





More information about the CMake mailing list