Commit 05339a53 authored by Robert Loehning's avatar Robert Loehning
Browse files

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: default avatarChristian Stenger <christian.stenger@digia.com>
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 9759d3ba
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment