forked from qt-creator/qt-creator
AutoTest: Fix creating test projects for cmake and qbs
...if the respective kits have no Qt configured. GTest and Catch2 get fixed with separate patches. Change-Id: Ib3eb92e97fd683f42e3666bd41728a3824e230ec Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
"trDisplayCategory": "Test Project",
|
||||
"icon": "../autotest.png",
|
||||
"iconKind": "Themed",
|
||||
"featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ],
|
||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||
|
||||
"options":
|
||||
@@ -151,7 +150,7 @@
|
||||
"enabled": "%{IsTopLevelProject}",
|
||||
"data": {
|
||||
"projectFilePath": "%{ProjectFilePath}",
|
||||
"requiredFeatures": [ "%{JS: value('BuildSystem') === 'qmake' ? 'QtSupport.Wizards.FeatureQt' : 'QtSupport.Wizards.FeatureDesktop' }" ]
|
||||
"requiredFeatures": [ "%{JS: value('BuildSystem') === 'qmake' ? 'QtSupport.Wizards.FeatureQt' : 'DeviceType.Desktop' }" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@@ -8,7 +8,6 @@
|
||||
"trDisplayCategory": "Test Project",
|
||||
"icon": "../autotest.png",
|
||||
"iconKind": "Themed",
|
||||
"featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ],
|
||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||
|
||||
"options":
|
||||
@@ -128,7 +127,7 @@
|
||||
"enabled": "%{IsTopLevelProject}",
|
||||
"data": {
|
||||
"projectFilePath": "%{ProjectFilePath}",
|
||||
"requiredFeatures": [ "QtSupport.Wizards.FeatureQt", "QtSupport.Wizards.FeatureDesktop" ]
|
||||
"requiredFeatures": [ "QtSupport.Wizards.FeatureQt", "DeviceType.Desktop" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@@ -8,7 +8,6 @@
|
||||
"trDisplayCategory": "Test Project",
|
||||
"icon": "../autotest.png",
|
||||
"iconKind": "Themed",
|
||||
"featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ],
|
||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||
|
||||
"options":
|
||||
@@ -123,7 +122,7 @@
|
||||
"enabled": "%{IsTopLevelProject}",
|
||||
"data": {
|
||||
"projectFilePath": "%{ProjectFilePath}",
|
||||
"requiredFeatures": [ "QtSupport.Wizards.FeatureQtQuick.2", "QtSupport.Wizards.FeatureDesktop" ]
|
||||
"requiredFeatures": [ "QtSupport.Wizards.FeatureQtQuick.2", "DeviceType.Desktop" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user