aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppeditor.qbs
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-03-04 09:25:08 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-03-24 06:22:03 +0000
commit044eeacde5ee1add8b06a8a53b86fd5c6991d488 (patch)
treebd52d7703102f14801fe02645c5b51affd6d0bc2 /src/plugins/cppeditor/cppeditor.qbs
parentda67c7c6c9723e8426ebeaf73c120d9090a576d6 (diff)
Load only tested plugins when invoked with -test
By default, a clean settings path is used for test environment. All the default plugins are loaded, although they're not needed. This change significantly improves loading time for tests. Change-Id: I24254f3e538e3f0e6d233d0989738dc1ce238209 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/cppeditor/cppeditor.qbs')
-rw-r--r--src/plugins/cppeditor/cppeditor.qbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppeditor.qbs b/src/plugins/cppeditor/cppeditor.qbs
index cb1248508e..243fb63774 100644
--- a/src/plugins/cppeditor/cppeditor.qbs
+++ b/src/plugins/cppeditor/cppeditor.qbs
@@ -16,6 +16,10 @@ QtcPlugin {
Depends { name: "app_version_header" }
+ pluginTestDepends: [
+ "QmakeProjectManager",
+ ]
+
files: [
"cppautocompleter.cpp", "cppautocompleter.h",
"cppcanonicalsymbol.cpp", "cppcanonicalsymbol.h",