Don't crash on Android
authorPaul Olav Tvete <paul.tvete@digia.com>
Wed, 21 May 2014 12:10:02 +0000 (14:10 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 21 May 2014 14:20:35 +0000 (16:20 +0200)
commita51822cbf87291de6ba327c38d43583671ee892b
tree7b1e969da41b8c13128de935ab2ffe421e2dab3d
parentf6e751f8d7644ccad6afdbe931611030c3b5cc6d
Don't crash on Android

If the platform plugin does not support the features needed
for QQuickWidget, then don't try to use it. This is a minimal
change to stop applications from crashing: it does not give
the application a way to find out if QQuickWidget is supported,
since that would mean new API, which we can't do in a patch
release.

Task-number: QTBUG-38268
Change-Id: I975a03b105b1d5c21a1d8ae440a5802ce8c1967b
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
src/quickwidgets/qquickwidget.cpp