From 8b5e5af31e7c0860f8cf4f8fa50e7b322cadca62 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 12 May 2017 18:50:50 -0700 Subject: Transform the scanner plugin manager into a true generic plugin manager ...and fit the generator plugins into this new plugin structure. Plugins are now handled entirely by the build system in a generic manner and no part of qbscore (code or build files) has a direct reference to any plugin regardless of whether qbs is being built as shared or static libraries. Change-Id: I4a20546ce275df71083ee22c2cb67f781c4de764 Reviewed-by: Joerg Bornemann --- src/lib/corelib/tools/projectgeneratormanager.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/corelib/tools/projectgeneratormanager.h') diff --git a/src/lib/corelib/tools/projectgeneratormanager.h b/src/lib/corelib/tools/projectgeneratormanager.h index d1796ccc6..d9f997fa7 100644 --- a/src/lib/corelib/tools/projectgeneratormanager.h +++ b/src/lib/corelib/tools/projectgeneratormanager.h @@ -48,10 +48,6 @@ #include #include -QT_BEGIN_NAMESPACE -class QLibrary; -QT_END_NAMESPACE - namespace qbs { class ProjectGenerator; namespace Internal { @@ -65,12 +61,12 @@ public: static ProjectGeneratorManager *instance(); static QStringList loadedGeneratorNames(); static std::shared_ptr findGenerator(const QString &generatorName); + static void registerGenerator(const std::shared_ptr &generator); private: ProjectGeneratorManager(); private: - QList m_libs; QMap > m_generators; }; -- cgit v1.2.3