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/auto.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/auto.pro')
-rw-r--r-- | tests/auto/auto.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index 715f3e01ad..d37e4a57ed 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -9,6 +9,8 @@ SUBDIRS=\ cmake \ installed_cmake +qtHaveModule(widgets): SUBDIRS += quickwidgets + qmldevtools.CONFIG = host_build installed_cmake.depends = cmake |