aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/gitplugin.h
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2012-02-21 16:52:28 +0100
committerFriedemann Kleint <[email protected]>2012-03-02 14:13:49 +0100
commit4e83fb7953fb670abd4de1b685ef0142da241cba (patch)
tree6f3fe42e3fea85b41c8fc6ab43603594e5cfb598 /src/plugins/git/gitplugin.h
parent36effe8cb41eb818afc23defad8354f30f731075 (diff)
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 <[email protected]>
Diffstat (limited to 'src/plugins/git/gitplugin.h')
-rw-r--r--src/plugins/git/gitplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/gitplugin.h b/src/plugins/git/gitplugin.h
index e8c3d15f0ca..75bab4fc58d 100644
--- a/src/plugins/git/gitplugin.h
+++ b/src/plugins/git/gitplugin.h
@@ -86,6 +86,7 @@ typedef QPair<Utils::ParameterAction *, Core::Command* > ParameterActionCommandP
class GitPlugin : public VcsBase::VcsBasePlugin
{
Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "Git.json")
public:
GitPlugin();