forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user