tst_qmediacapturesession: Add test setting QImageCapture resolution


Setting QImageCapture resolution should aim to have the resolution be
propagated to the video source, so scaling won't be applied.

Add test calling QImageCapture::setResolution with a resolution provided
by QCameraDevice::photoResolutions, and ensure the available QVideoFrame
has the correct resolution.

Pick-to: 6.12
Change-Id: I528e7ccfb47de1b5a2b3c017b5522a1e3f0ad3a6
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commitfa85a8a6b8abaaa4c0921ce503635b0df413e4f7
parent8a4cdbcb14864b13941ef02120b65bdc190edf5c
authorMikko Hallamaa <mikko.hallamaa@qt.io>
committerMikko Hallamaa <mikko.hallamaa@qt.io>
commit timeTue, 20 Oct 2026 06:48:13 +0000