aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/helloworld
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-03-26 16:58:50 +0100
committerOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-04-11 12:52:03 +0200
commitf9f8cd354bae8e1767de2899ef5b66d50c4399d3 (patch)
tree9673d818466f78a42322451a27342ea929ba3252 /src/plugins/helloworld
parent740d177a044c425b2711673d8c84ab20a7dfdf0a (diff)
auto-generate <dependencyList> in .pluginspec files
Change-Id: I8bb9b4eb0ae5ed9b283da422be882603ae0e1b49 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/plugins/helloworld')
-rw-r--r--src/plugins/helloworld/HelloWorld.pluginspec.in4
-rw-r--r--src/plugins/helloworld/helloworld_dependencies.pri3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/helloworld/HelloWorld.pluginspec.in b/src/plugins/helloworld/HelloWorld.pluginspec.in
index c570380842..17e14e8481 100644
--- a/src/plugins/helloworld/HelloWorld.pluginspec.in
+++ b/src/plugins/helloworld/HelloWorld.pluginspec.in
@@ -12,7 +12,5 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
</license>
<description>Hello World sample plugin.</description>
<url>http://www.qt-project.org</url>
- <dependencyList>
- <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
- </dependencyList>
+ $$dependencyList
</plugin>
diff --git a/src/plugins/helloworld/helloworld_dependencies.pri b/src/plugins/helloworld/helloworld_dependencies.pri
index 014c78108b..bdf7d50884 100644
--- a/src/plugins/helloworld/helloworld_dependencies.pri
+++ b/src/plugins/helloworld/helloworld_dependencies.pri
@@ -4,3 +4,6 @@ QTC_LIB_DEPENDS += \
QTC_PLUGIN_DEPENDS += \
coreplugin
+
+QTC_PLUGIN_RECOMMENDS += \
+ # optional plugin dependencies. nothing here at this time