Squish: Handle Quick UI not starting

Happens with Creator built on Qt 4.8.5 trying to run a Qt Quick 1.1 App

Change-Id: I5f83fb26e6ac43daa9ea61af5498b81498476668
Idea-by: Christian Stenger
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Robert Loehning
2014-03-27 17:45:32 +01:00
parent 9759d3bacb
commit 05339a53e9

View File

@@ -478,7 +478,8 @@ def __closeSubprocessByHookingInto__(executable, port, function, sType, userDefT
attachToApplication(executable)
except:
resetApplicationContextToCreator()
if "Loading Qt Wrapper failed" in str(output.plainText):
if ("Loading Qt Wrapper failed" in str(output.plainText)
or "Failed to assign process to job object" in str(output.plainText)):
test.warning("Loading of Qt Wrapper failed - probably different Qt versions.",
"Resetting hook-into settings to continue.")
# assuming we're still on the build settings of the current project (TODO)