[CMake] CMake with Qt (plus pkg-config)

Murray Cumming murrayc at murrayc.com
Thu Oct 22 06:15:24 EDT 2009


I'm trying to use CMake for the first time, as an experiment, with
little a Qt-based project. It also uses an additional library, via
pkg-config.

So far Qt's include files don't seem to be found, and I wonder how I can
cause moc to be used to generate some of the .cc files.

Here's what I have so far:
http://github.com/murraycu/qlom/blob/qlom_cmake/CMakeLists.txt
based on the many and varied google results.

Can anyone give me some clues?


-- 
murrayc at murrayc.com
www.murrayc.com
www.openismus.com



More information about the CMake mailing list