Look at the CMakeLists.txt of OWCrashReport. It compiles well --Philippe BERNERY <[EMAIL PROTECTED]>http://dev.openwengo.org Le 21 sept. 06 à 12:00, Andreas Schneider a écrit :Hi,I wondered why WengoPhone doesn't link and why the moc files aren'tgenerated.In CMakeLists.txtqt4_automoc(${qtwengophone
automoc must be used with .h files, not .cpp. And it seems that qtwengophone_SRCS is the list of .cpp files --Philippe BERNERY <[EMAIL PROTECTED]>http://dev.openwengo.org Le 21 sept. 06 à 12:00, Andreas Schneider a écrit :Hi,I wondered why WengoPhone doesn't link and why the moc files aren'tgenerat
Hi,
I wondered why WengoPhone doesn't link and why the moc files aren't
generated.
In CMakeLists.txt
qt4_automoc(${qtwengophone_SRCS})
So I've looked at some Qt code. Normally at the end of a .cpp you find
#include .moc
qt4_automoc reads all cpp files and searches for moc file and generates
it