summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-01-11 14:01:08 +0100
committercon <qtc-committer@nokia.com>2011-01-11 15:08:05 +0100
commit4116504c3b5813d9fcbef25f43765303e88148cd (patch)
tree354547605feee0d6e172d22fda2de97d9eaea7ab /src/plugins
parent1c1acd0c4cee350d65df8c4b439c8b19932c6f6d (diff)
downloadqt-creator-4116504c3b5813d9fcbef25f43765303e88148cd.tar.gz
Allow optional plugin dependencies.
Adds a 'type' attribute to the 'dependency' tag, with possible values 'required' and 'optional'. Optional dependencies may not be linked against. You'll need to use the new dynamic methods in plugin manager (retrieving objects and calling methods by name) if you want to access functionality of optional dependencies.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/debugger/Debugger.pluginspec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/Debugger.pluginspec.in b/src/plugins/debugger/Debugger.pluginspec.in
index 28099c5cb4..e7dff0dd6f 100644
--- a/src/plugins/debugger/Debugger.pluginspec.in
+++ b/src/plugins/debugger/Debugger.pluginspec.in
@@ -18,7 +18,7 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
<dependency name=\"Find\" version=\"$$QTCREATOR_VERSION\"/>
<!-- Debugger plugin adds items to the editor's context menu -->
- <dependency name=\"CppEditor\" version=\"$$QTCREATOR_VERSION\" type=\"soft\"/>
+ <dependency name=\"CppEditor\" version=\"$$QTCREATOR_VERSION\" type=\"optional\"/>
</dependencyList>
<argumentList>
<argument name=\"-disable-cdb\">Disable Cdb debugger engine</argument>