diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-03-19 09:21:11 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-07-01 14:20:57 +0200 |
commit | 27bbd51698c12891475dc27cb742265128e098d6 (patch) | |
tree | 854469b11471a9ca7fc3555e9af2737084735cc4 /tests/auto/quickwidgets/quickwidgets.pro | |
parent | 08f9b552c3735e15f9bf58ab5908652b06e47e88 (diff) |
Add grabFramebuffer() to QQuickWidget and use it in the autotest
This introduces the need for a grab function in QQuickWidget.
The render control has one already so there is no reason for not exposing
this in QQuickWidget too.
This also means that a relatively meaningful autotest can be now be added.
[ChangeLog][QtQuick] Added QQuickWidget::grabFramebuffer() for capturing the content into a QImage.
Task-number: QTBUG-37589
Change-Id: I5ca8192c0ef8dab4f076a4db27b64aebe3359bb8
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tests/auto/quickwidgets/quickwidgets.pro')
-rw-r--r-- | tests/auto/quickwidgets/quickwidgets.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quickwidgets/quickwidgets.pro b/tests/auto/quickwidgets/quickwidgets.pro new file mode 100644 index 0000000000..ee8d6077e6 --- /dev/null +++ b/tests/auto/quickwidgets/quickwidgets.pro @@ -0,0 +1,2 @@ +TEMPLATE = subdirs +SUBDIRS += qquickwidget |