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",
|
"trDisplayCategory": "Test Project",
|
||||||
"icon": "../autotest.png",
|
"icon": "../autotest.png",
|
||||||
"iconKind": "Themed",
|
"iconKind": "Themed",
|
||||||
"featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ],
|
|
||||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
@@ -151,7 +150,7 @@
|
|||||||
"enabled": "%{IsTopLevelProject}",
|
"enabled": "%{IsTopLevelProject}",
|
||||||
"data": {
|
"data": {
|
||||||
"projectFilePath": "%{ProjectFilePath}",
|
"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",
|
"trDisplayCategory": "Test Project",
|
||||||
"icon": "../autotest.png",
|
"icon": "../autotest.png",
|
||||||
"iconKind": "Themed",
|
"iconKind": "Themed",
|
||||||
"featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ],
|
|
||||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
@@ -128,7 +127,7 @@
|
|||||||
"enabled": "%{IsTopLevelProject}",
|
"enabled": "%{IsTopLevelProject}",
|
||||||
"data": {
|
"data": {
|
||||||
"projectFilePath": "%{ProjectFilePath}",
|
"projectFilePath": "%{ProjectFilePath}",
|
||||||
"requiredFeatures": [ "QtSupport.Wizards.FeatureQt", "QtSupport.Wizards.FeatureDesktop" ]
|
"requiredFeatures": [ "QtSupport.Wizards.FeatureQt", "DeviceType.Desktop" ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -8,7 +8,6 @@
|
|||||||
"trDisplayCategory": "Test Project",
|
"trDisplayCategory": "Test Project",
|
||||||
"icon": "../autotest.png",
|
"icon": "../autotest.png",
|
||||||
"iconKind": "Themed",
|
"iconKind": "Themed",
|
||||||
"featuresRequired": [ "QtSupport.Wizards.FeatureDesktop" ],
|
|
||||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
@@ -123,7 +122,7 @@
|
|||||||
"enabled": "%{IsTopLevelProject}",
|
"enabled": "%{IsTopLevelProject}",
|
||||||
"data": {
|
"data": {
|
||||||
"projectFilePath": "%{ProjectFilePath}",
|
"projectFilePath": "%{ProjectFilePath}",
|
||||||
"requiredFeatures": [ "QtSupport.Wizards.FeatureQtQuick.2", "QtSupport.Wizards.FeatureDesktop" ]
|
"requiredFeatures": [ "QtSupport.Wizards.FeatureQtQuick.2", "DeviceType.Desktop" ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user