diff --git a/src/wayland/autotests/server/test_qt_surface_extension.cpp b/src/wayland/autotests/server/test_qt_surface_extension.cpp index 4fbe36d2cd..90aabc8759 100644 --- a/src/wayland/autotests/server/test_qt_surface_extension.cpp +++ b/src/wayland/autotests/server/test_qt_surface_extension.cpp @@ -86,6 +86,7 @@ void TestQtSurfaceExtension::testCloseWindow() QVERIFY(extension); QSignalSpy surfaceExtensionDestroyedSpy(extension, &QObject::destroyed); QVERIFY(surfaceExtensionSpy.isValid()); + qRegisterMetaType(); QSignalSpy processStateChangedSpy(&process, &QProcess::stateChanged); QVERIFY(processStateChangedSpy.isValid()); extension->close();