summaryrefslogtreecommitdiffstats
path: root/tests/manual/manual.pro
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-03-03 22:43:22 +0100
committerAndy Shaw <andy.shaw@qt.io>2020-03-13 10:06:35 +0100
commit4eef300be70509a208527bf164f7746fa1bf07a1 (patch)
treecd8b57538e09cd60dd5795a33303cc8b2d78772d /tests/manual/manual.pro
parent8b34a40c2c8e7468633555268cb1bea921e85a75 (diff)
Allow for when a Scene3D item switches screens
When a Scene3D item switches screens then it will need to be reinitalized so that the supporting contexts, offscreen surfaces are set to use the same screen and not the original one. This ensures that the item is still rendered correctly on the new screen. This includes a manual test using QQuickWidget in separate windows that enables it going from one screen to the other. This is a fresh version after the previous version was found to have a bug shown in the scene3d-loader test which has now been resolved. Change-Id: I3c711e894018db52ec00a8a5d2e0fb0128743ab1 Done-with: Antti Kokko <antti.kokko@qt.io> Fixes: QTBUG-79192 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tests/manual/manual.pro')
-rw-r--r--tests/manual/manual.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/manual.pro b/tests/manual/manual.pro
index 2f630e0d9..de9dd861b 100644
--- a/tests/manual/manual.pro
+++ b/tests/manual/manual.pro
@@ -88,3 +88,5 @@ qtHaveModule(widgets): {
rendercapture-cpp \
texture-updates-cpp
}
+
+qtHaveModule(quickwidgets): SUBDIRS += quickwidget-switch