diff --git a/src/plugins/cpptools/cppmodelmanager_test.cpp b/src/plugins/cpptools/cppmodelmanager_test.cpp index 34c05f0ac7c5aeec5b86f9d1b4cbf36e66d9d5a1..6fa0d48169cac270dd8cd660b606ab66a279aad7 100644 --- a/src/plugins/cpptools/cppmodelmanager_test.cpp +++ b/src/plugins/cpptools/cppmodelmanager_test.cpp @@ -48,7 +48,7 @@ typedef CppTools::ProjectPart ProjectPart; typedef CppTools::ProjectFile ProjectFile; typedef ProjectExplorer::Project Project; -Q_DECLARE_METATYPE(ProjectFile) +Q_DECLARE_METATYPE(QList<ProjectFile>) namespace {