diff --git a/autotests/integration/test_helpers.cpp b/autotests/integration/test_helpers.cpp
index 576e1687dd..6383f29ff0 100644
--- a/autotests/integration/test_helpers.cpp
+++ b/autotests/integration/test_helpers.cpp
@@ -33,6 +33,7 @@ along with this program. If not, see .
#include
#include
#include
+#include
#include
#include
#include
@@ -66,7 +67,9 @@ static struct {
PlasmaShell *plasmaShell = nullptr;
PlasmaWindowManagement *windowManagement = nullptr;
PointerConstraints *pointerConstraints = nullptr;
+ Registry *registry = nullptr;
QThread *thread = nullptr;
+ QVector