Automoc fails to handle Q_INTERFACES
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Since CMake 2.8.10, cmake fails to build Phonon from git master. The error given is:
AUTOMOC: error: process for /local/build/Qt/kdesupport/phonon/declarative/moc_mediaelement.cpp failed: /local/git/Qt/kdesupport/phonon/declarative/mediaelement.h:55: Error: Undefined interface
Checking with Phonon developers, they assume it to be a cmake regression.
git clone kde:phonon cd phonon mkdir build cd build cmake .. make
Additional Information 22.214.171.124 shows the same error. 2.8.9 worked fine.
For more information, read this KDE bug