diff --git a/autotests/integration/effects/fade_test.cpp b/autotests/integration/effects/fade_test.cpp
index 53c730108f..4ed3574b9c 100644
--- a/autotests/integration/effects/fade_test.cpp
+++ b/autotests/integration/effects/fade_test.cpp
@@ -23,7 +23,6 @@ along with this program. If not, see .
#include "effectloader.h"
#include "cursor.h"
#include "platform.h"
-#include "scene_qpainter.h"
#include "shell_client.h"
#include "wayland_server.h"
#include "workspace.h"
diff --git a/autotests/integration/effects/slidingpopups_test.cpp b/autotests/integration/effects/slidingpopups_test.cpp
index dd29b88d20..c40cde30d4 100644
--- a/autotests/integration/effects/slidingpopups_test.cpp
+++ b/autotests/integration/effects/slidingpopups_test.cpp
@@ -23,7 +23,6 @@ along with this program. If not, see .
#include "effectloader.h"
#include "cursor.h"
#include "platform.h"
-#include "scene_qpainter.h"
#include "shell_client.h"
#include "wayland_server.h"
#include "workspace.h"
diff --git a/autotests/integration/effects/translucency_test.cpp b/autotests/integration/effects/translucency_test.cpp
index 5768cb88a3..055c851bfd 100644
--- a/autotests/integration/effects/translucency_test.cpp
+++ b/autotests/integration/effects/translucency_test.cpp
@@ -23,7 +23,6 @@ along with this program. If not, see .
#include "effectloader.h"
#include "cursor.h"
#include "platform.h"
-#include "scene_qpainter.h"
#include "shell_client.h"
#include "wayland_server.h"
#include "workspace.h"
diff --git a/autotests/integration/x11_client_test.cpp b/autotests/integration/x11_client_test.cpp
index c5040c00f1..7ceadb4731 100644
--- a/autotests/integration/x11_client_test.cpp
+++ b/autotests/integration/x11_client_test.cpp
@@ -23,7 +23,6 @@ along with this program. If not, see .
#include "effectloader.h"
#include "cursor.h"
#include "platform.h"
-#include "scene_qpainter.h"
#include "screens.h"
#include "shell_client.h"
#include "wayland_server.h"