From c010a9fae0f59f80c6b16ff80a5effb1999af43a Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sat, 3 Jun 2017 01:16:11 +0200 Subject: [PATCH] Autotests: solve warning for QProcess::ProcessState metatype registration --- src/wayland/autotests/server/test_qt_surface_extension.cpp | 1 + 1 file changed, 1 insertion(+) 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();