Tests: windows compile fix without opengl


Pick-to: 6.12
Change-Id: I4b34e99a28733332dcce29add8c1eac3183e8481
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit5763790fd9aac1ce26515eca010b482955b1b504
parentab5d16cdca6d1560bb36b5629352c3e8bc78a408
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 6 Oct 2026 01:43:57 +0000