forked from qt-creator/qt-creator
Squish: Allow automatically created kits
Linking to Qt makes the respective configured kits become auto detected and these have a fixed Qt. The Qt version combo box for these kits is disabled on the Kits page, so be more relaxed when checking kits page. Change-Id: Ieb7e22b47bd5e5c5603e85dc0ddf2421427e85d6 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -367,7 +367,7 @@ def getConfiguredKits():
|
||||
# end of internal function for iterateQtVersions
|
||||
def __setQtVersionForKit__(kit, kitName, kitsQtVersionName):
|
||||
mouseClick(waitForObjectItem(":BuildAndRun_QTreeView", kit))
|
||||
qtVersionStr = str(waitForObject(":Kits_QtVersion_QComboBox").currentText)
|
||||
qtVersionStr = str(waitForObjectExists(":Kits_QtVersion_QComboBox").currentText)
|
||||
kitsQtVersionName[kitName] = qtVersionStr
|
||||
# end of internal function for iterate kits
|
||||
|
||||
|
@@ -149,7 +149,7 @@ def __qtFunc__(it, foundQt, qmakePath):
|
||||
|
||||
def __kitFunc__(it, foundQt, foundCompNames):
|
||||
global currentSelectedTreeItem, warningOrError
|
||||
qtVersionStr = str(waitForObject(":Kits_QtVersion_QComboBox").currentText)
|
||||
qtVersionStr = str(waitForObjectExists(":Kits_QtVersion_QComboBox").currentText)
|
||||
test.compare(it, "Desktop (default)", "Verifying whether default Desktop kit has been created.")
|
||||
if foundQt:
|
||||
test.compare(qtVersionStr, foundQt, "Verifying if Qt versions match.")
|
||||
|
Reference in New Issue
Block a user