diff --git a/Tests/Unit/GUI/TestGUI.cpp b/Tests/Unit/GUI/TestGUI.cpp
index e0a0ee4d410302953d104953a64839c438e08315..c40e0b87bb3efe839884be69515a54b0b4408d6f 100644
--- a/Tests/Unit/GUI/TestGUI.cpp
+++ b/Tests/Unit/GUI/TestGUI.cpp
@@ -2,9 +2,7 @@
 // (for non-GUI unit tests, the corresponding source is Tests/GTestWrapper/TestAll.cpp).
 
 #include "Tests/GTestWrapper/google_test.h"
-
 #include "Tests/Unit/GUI/Comparators.h"
-#include <QAbstractItemModel>
 #include <QCoreApplication>
 
 int main(int argc, char** argv)
@@ -13,8 +11,6 @@ int main(int argc, char** argv)
     Q_UNUSED(app);
 
     Comparators::registerComparators();
-    qRegisterMetaType<QAbstractItemModel::LayoutChangeHint>("LayoutChangeHint");
-    qRegisterMetaType<QVector<QPersistentModelIndex>>("QVector<QPersistentModelIndex>");
 
     ::testing::InitGoogleTest(&argc, argv);