diff --git a/autotests/integration/effects/slidingpopups_test.cpp b/autotests/integration/effects/slidingpopups_test.cpp
index a67eb40a88..0d8252618b 100644
--- a/autotests/integration/effects/slidingpopups_test.cpp
+++ b/autotests/integration/effects/slidingpopups_test.cpp
@@ -20,6 +20,7 @@ along with this program. If not, see .
#include "kwin_wayland_test.h"
#include "client.h"
#include "composite.h"
+#include "deleted.h"
#include "effects.h"
#include "effectloader.h"
#include "cursor.h"
@@ -61,6 +62,7 @@ void SlidingPopupsTest::initTestCase()
{
qRegisterMetaType();
qRegisterMetaType();
+ qRegisterMetaType();
qRegisterMetaType();
QSignalSpy workspaceCreatedSpy(kwinApp(), &Application::workspaceCreated);
QVERIFY(workspaceCreatedSpy.isValid());