aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickwindow/qquickwindow.pro
diff options
context:
space:
mode:
authorOleg Yadrov <oleg.yadrov@qt.io>2016-12-20 16:45:20 -0800
committerShawn Rutledge <shawn.rutledge@qt.io>2017-01-02 07:01:15 +0000
commitf70066e95e7e23562155686cb7d7874b2d5da5a1 (patch)
tree0e0741e13455291f4a433077ba6b0d7b0b56c0fb /tests/auto/quick/qquickwindow/qquickwindow.pro
parentbb123fa3a4b06dabb2a63304ee3d24f94d74c1f2 (diff)
Make it possible to call grabToImage() on Window.contentItem
Window.contentItem was not associated with any QQmlContext and QQmlEngine. A valid pointer to QQmlEngine is needed for callback function execution. Task-number: QTBUG-57175 Change-Id: Iab7730bfc8860521ff2e8c1631a11d0e1fe0cf94 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickwindow/qquickwindow.pro')
-rw-r--r--tests/auto/quick/qquickwindow/qquickwindow.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickwindow/qquickwindow.pro b/tests/auto/quick/qquickwindow/qquickwindow.pro
index 05093ba8e0..b0a5f97a32 100644
--- a/tests/auto/quick/qquickwindow/qquickwindow.pro
+++ b/tests/auto/quick/qquickwindow/qquickwindow.pro
@@ -16,4 +16,5 @@ OTHER_FILES += \
data/AnimationsWhileHidden.qml \
data/Headless.qml \
data/showHideAnimate.qml \
- data/windoworder.qml
+ data/windoworder.qml \
+ data/grabContentItemToImage.qml