QWindowCapture, WGC: Don't capture cursor during integration tests


When running integration tests for capturing window, it can be
problematic if the cursor is being captured. The qwindowcapturebackend
test has some mechanism to disable the cursor altogether, but it's not
bulletproof when running locally.

We already have private APIs that let us ignore the cursor during
capture. This patch makes us use it for the Windows WGC backend. This
helps running the tests locally.

Pick-to: 6.12
Change-Id: I463b608fc6eed6d660d50fe86bd9d9d699ec66d7
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit19bde44661c0e325b3eb7fe6c156069062ff2869
parentb4e0509dee4b44605bf03c5e4510c1c2d060441c
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeSat, 19 Sep 2026 19:50:54 +0000