Commit 9276e6a0 authored by Christian Stenger's avatar Christian Stenger Committed by Erik Verbruggen

CppTools: Fix warning of connects and execution of plugin unit test

Change-Id: I3057e3b198d566f57e991103c18ce077babcc4f0
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent aba1d0a1
......@@ -60,6 +60,8 @@
#include <sstream>
#endif
Q_DECLARE_METATYPE(QSet<QString>)
static const bool DumpProjectInfo = qgetenv("QTC_DUMP_PROJECT_INFO") == "1";
using namespace CppTools;
......@@ -219,6 +221,7 @@ CppModelManager::CppModelManager(QObject *parent)
, m_indexingSupporter(0)
, m_enableGC(true)
{
qRegisterMetaType<QSet<QString> >();
connect(this, SIGNAL(documentUpdated(CPlusPlus::Document::Ptr)),
this, SIGNAL(globalSnapshotChanged()));
connect(this, SIGNAL(aboutToRemoveFiles(QStringList)),
......
......@@ -35,6 +35,8 @@
#include <cassert>
Q_DECLARE_METATYPE(QSet<QString>)
using namespace CppTools::Internal;
TestProject::TestProject(const QString &name, QObject *parent)
......@@ -42,6 +44,7 @@ TestProject::TestProject(const QString &name, QObject *parent)
{
setParent(parent);
setId(Core::Id::fromString(name));
qRegisterMetaType<QSet<QString> >();
}
TestProject::~TestProject()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment