diff --git a/src/plugins/projectexplorer/itaskhandler.h b/src/plugins/projectexplorer/itaskhandler.h
index 753f7bf947b7f8cf79813c7e760cc66b2dd77bec..9514227e579abcb739d0a33d2fb484849b7a5f69 100644
--- a/src/plugins/projectexplorer/itaskhandler.h
+++ b/src/plugins/projectexplorer/itaskhandler.h
@@ -37,7 +37,6 @@
 
 QT_BEGIN_NAMESPACE
 class QAction;
-class QObject;
 QT_END_NAMESPACE
 
 namespace ProjectExplorer {