AutoTest: Soften dependency of wizard

Make the auto test wizard available also without the AutoTest plugin
being loaded.
For the wizard it suffices to depend on the presence of CppEditor
and all of the projects generated are basically C++ based.

Change-Id: I76b8d397e819b2865ad597f487084ad4c618c6a5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Stenger
2021-09-24 11:55:05 +02:00
parent 47cd1def7a
commit 29413a0e44

View File

@@ -8,7 +8,7 @@
"trDisplayCategory": "Other Project", "trDisplayCategory": "Other Project",
"icon": "autotest.png", "icon": "autotest.png",
"featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ], "featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ],
"enabled": "%{JS: value('Plugins').indexOf('AutoTest') >= 0}", "enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
"options": "options":
[ [