diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-02-21 16:52:28 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-03-02 14:13:49 +0100 |
commit | 4e83fb7953fb670abd4de1b685ef0142da241cba (patch) | |
tree | 6f3fe42e3fea85b41c8fc6ab43603594e5cfb598 /src/plugins/autotoolsprojectmanager | |
parent | 36effe8cb41eb818afc23defad8354f30f731075 (diff) | |
download | qt-creator-4e83fb7953fb670abd4de1b685ef0142da241cba.tar.gz |
Port Qt Creator to the new plugin system of Qt 5.
- Add Q_PLUGIN_METADATA for Qt 5, use Q_EXPORT_PLUGIN
for Qt 4.
- Generate the Json files for Qt 5 from the pluginspec
files by using a XSLT sheet.
Change-Id: I8653f182ae7d61615971c093df10b84fb06c2172
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.h b/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.h index e7210d0ac3..2e46de1746 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.h +++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.h @@ -70,6 +70,9 @@ namespace Internal { class AutotoolsProjectPlugin : public ExtensionSystem::IPlugin { + Q_OBJECT + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "AutotoolsProjectManager.json") + public: AutotoolsProjectPlugin(); |