This is a Qt bug that is closed upstream... with Qt5: https://bugreports.qt-project.org/browse/QTBUG-22829 Solution (workaround) consists in patching akonadi-1.9.0/shared/akapplication.h, wrapping the boost include with: #ifndef Q_MOC_RUN #endif Most of kde fails to build if akonadi-server is not working. Reproducible: Always Steps to Reproduce: 1. install latest boost 2. install qt-4.8.4* 3. install akonadi-server
Created attachment 338902 [details, diff] akonadi-1.9.0-fix-moc-preproc.patch
*** This bug has been marked as a duplicate of bug 454080 ***