From 27bbd51698c12891475dc27cb742265128e098d6 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 19 Mar 2014 09:21:11 +0100 Subject: 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 --- tests/auto/quickwidgets/quickwidgets.pro | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/auto/quickwidgets/quickwidgets.pro (limited to 'tests/auto/quickwidgets/quickwidgets.pro') 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 -- cgit v1.2.3