QML, ScreenCapture: Add unit tests for QML -> C++ bridging
It's an intended feature that the QML ScreenCapture object can be
directly passed into C++ as a QScreenCapture object. This patch adds
unit tests that make sure the conversion works as expected and that
changes on either side are reflected across the language boundary.
Pick-to: 6.12
Change-Id: If8a71f3ef5029aa8a7ddc5ee616b81070c5fdb44
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
| commit | d3f11ff212e45acea5947ae5b0d940cda2cd4739 |
| parent | a6512f42bea76527dee86643d86c4808e4702cf9 |
| author | Nils Petter Skålerud <nils.petter.skalerud@qt.io> |
| committer | Nils Petter Skålerud <nils.petter.skalerud@qt.io> |
| commit time | Tue, 25 Aug 2026 10:43:54 +0000 |
- M tests/auto/integration/CMakeLists.txt
- D tests/auto/integration/qquickscreencapturebackend/CMakeLists.txt
- D tests/auto/integration/qquickscreencapturebackend/tst_qquickscreencapturebackend.cpp
- M tests/auto/unit/multimediaquick/CMakeLists.txt
- M tests/auto/unit/multimediaquick/tst_multimediaquick_qml.cpp
- A tests/auto/unit/multimediaquick/tst_multimediaquick_qml_screencapturehelper.cpp
- A tests/auto/unit/multimediaquick/tst_multimediaquick_qml_screencapturehelper.h
- M tests/auto/unit/multimediaquick/tst_screencapture.qml