« Return to Thread: Cannot create .moc files

Cannot create .moc files

by alexandrm :: Rate this Message:

Reply to Author | View in Thread

Hi all!

I started  learn about Qt4 and KDE4 and try to write my first app in KDE4.
Currently I have problems with creating .moc files.  For some reason .o files were
created successfully, but .moc were not created. I put kde4_automoc() in the CMakeLists.txt
but it doesn't work also. When I try to add #include "foo.moc" in the .cpp files the compiler complains
that it can't find "foo.moc" .

Can you please help me with this problem?

Thanks you

 « Return to Thread: Cannot create .moc files