summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorTuomas Vaarala <tuomas.vaarala@qt.io>2024-05-15 13:21:08 +0300
committerTuomas Vaarala <tuomas.vaarala@qt.io>2024-05-16 16:40:55 +0300
commitc9ddc4b8e17fac10d2f25fe21c09bdd734513ac6 (patch)
treefecdbfee6ffeb78523f99eba84df20ef5e1af689 /src/gui
parent5e699c2a8b50be1c02e354171c98953c4d95c79d (diff)
[QNX] Use QRhiBackingstore for non-raster surface windows
Since the change to use compose render-to-texture widgets through QRhi, the RasterGLSurface is not existing anymore and it was used in QNX QPA to check the support for using backingstore with non-raster windows. With the use of QRhiBackingstore the QNX QPA now supports render-to-texture widgets for non-raster surface windows. Fixes: QTBUG-114938 Task-number: QTBUG-114938 Pick-to: 6.5 6.6 6.7 Change-Id: I01d4a34efe4902a527051776b0460ccf22e5d232 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 9f76e7afa1..aed66563a7 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -414,6 +414,12 @@ qt_internal_extend_target(Gui CONDITION APPLE
${FWImageIO}
)
+qt_internal_extend_target(Gui CONDITION QNX
+ SOURCES
+ painting/qrasterbackingstore.cpp painting/qrasterbackingstore_p.h
+ painting/qrhibackingstore.cpp painting/qrhibackingstore_p.h
+)
+
qt_internal_extend_target(Gui CONDITION QT_FEATURE_animation
SOURCES
animation/qguivariantanimation.cpp