diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-05-12 18:50:50 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-06-13 15:47:18 +0000 |
commit | 8b5e5af31e7c0860f8cf4f8fa50e7b322cadca62 (patch) | |
tree | 36a7e2fc38c7571cdf7e4c6b6449754e39cb993c /src/lib/corelib/tools/projectgeneratormanager.h | |
parent | d5dc7a2571027168d1a74cbb2578848dc843e20e (diff) |
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 <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/tools/projectgeneratormanager.h')
-rw-r--r-- | src/lib/corelib/tools/projectgeneratormanager.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 <QtCore/qstring.h> #include <QtCore/qstringlist.h> -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<ProjectGenerator> findGenerator(const QString &generatorName); + static void registerGenerator(const std::shared_ptr<ProjectGenerator> &generator); private: ProjectGeneratorManager(); private: - QList<QLibrary *> m_libs; QMap<QString, std::shared_ptr<ProjectGenerator> > m_generators; }; |