--- src/irc/outputfilter.cpp
+++ src/irc/outputfilter.cpp
@@ -40,6 +40,7 @@
#include <KPasswordDialog>
#include <KMessageBox>
+#include <QMetaMethod>
#include <QTextDocument>
#include <QTextBlock>
#include <qdebug.h>