diff --git a/tests/auto/qmainwindow/tst_qmainwindow.cpp b/tests/auto/qmainwindow/tst_qmainwindow.cpp index ce6ae1c88..a481690b2 100644 --- a/tests/auto/qmainwindow/tst_qmainwindow.cpp +++ b/tests/auto/qmainwindow/tst_qmainwindow.cpp @@ -173,7 +173,6 @@ void tst_QMainWindow::getSetCheck() tst_QMainWindow::tst_QMainWindow() { - qRegisterMetaType("QSize"); qRegisterMetaType("Qt::ToolButtonStyle"); } diff --git a/tests/auto/qprocess/tst_qprocess.cpp b/tests/auto/qprocess/tst_qprocess.cpp index 8386d65e4..1b80afc83 100644 --- a/tests/auto/qprocess/tst_qprocess.cpp +++ b/tests/auto/qprocess/tst_qprocess.cpp @@ -1192,7 +1192,6 @@ void tst_QProcess::waitForBytesWrittenInABytesWrittenSlot() process->start(binary); QVERIFY2(process->waitForStarted(5000), msgStartProcessFailed(binary, process->errorString()).constData()); - qRegisterMetaType("qint64"); QSignalSpy spy(process, SIGNAL(bytesWritten(qint64))); process->write("f"); QTestEventLoop::instance().enterLoop(30);