Ensure QQuickView's engine outlives the  root component
Ensure QQuickView's engine outlives the  root component

If the engine is destroyed before the root component, assumptions of
resource availability are broken.

Change-Id: I7fe27ff38ae3c215d58fb8811aff449b6c1f7b5b
Reviewed-by: Martin Jones <d1da02505c7f228af82a23235becb435f45569f5@nokia.com>

corngood/qtdeclarative,matthewvogt/qtdeclarative,matthewvogt/qtdeclarative,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,jfaust/qtdeclarative,corngood/qtdeclarative,crobertd/qtdeclarative,crobertd/qtdeclarative,matthewvogt/qtdeclarative,matthewvogt/qtdeclarative,qmlc/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,jfaust/qtdeclarative,jfaust/qtdeclarative,mgrunditz/qtdeclarative-2d,mgrunditz/qtdeclarative-2d,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,qmlc/qtdeclarative,corngood/qtdeclarative,mgrunditz/qtdeclarative-2d,corngood/qtdeclarative,qmlc/qtdeclarative,qmlc/qtdeclarative,crobertd/qtdeclarative,crobertd/qtdeclarative,jfaust/qtdeclarative,matthewvogt/qtdeclarative,mgrunditz/qtdeclarative-2d,jfaust/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,mgrunditz/qtdeclarative-2d,jfaust/qtdeclarative,crobertd/qtdeclarative,crobertd/qtdeclarative,jfaust/qtdeclarative,crobertd/qtdeclarative,qmlc/qtdeclarative