Window/Screen capture tests: Skip on offscreen QPA


Amends 682c090002e571fe38b081520f64d2c49e7ea102. These tests require
our QWindows to show up as native windows on the desktop, which is not
the case for offscreen QPA. They are never meant to work on this
config. Skip it.

This patch unblocks qt5 integrations

Pick-to: 6.12
Change-Id: I5cb039b72e422a789c666c117c2e7b9b9f11c6a4
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
commitc08ffad124e8298d5f553c1bbdaa2df913e9ec07
parent94379f53c8e238ed4b25c842110c7e615038839e
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeFri, 2 Oct 2026 09:05:34 +0000