[CMake] Qt, PrivateClass and not fount moc_xxx.cpp

panter.dsd panter.dsd at gmail.com
Wed Jul 29 10:11:57 EDT 2009


Hello, all.
I'm from Russia and I very bad speak english, sorry.

I'm programming on Qt4 and I'll want compiling my program with CMake, but have 
a problem. In my program I'm using Private classes and I must writing at end 
of cpp file #include "moc_XXX.cpp". When my program compiling  with the qmake, 
all good, but when compiling with the CMake, I get an error message "file 
moc_XXX.cpp not found". 

-- 
PanteR


More information about the CMake mailing list