Fix manual test linking (2dpainting_port)
2dpainting_port links against OpenGLWidgets unconditionally. Look up
the OpenGLWidgets at module level (as optional), and include the manual
test in build only if found.
Change-Id: I49361ea97b204cccf5567c28680120fafaf9c7fc
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | 0460084b42cb864104fa3c4b934b7543f06f302e |
| parent | 147ee77518b7db80ff149c625eea7c6ab2fe0373 |
| author | Juha Vuolle <juha.vuolle@qt.io> |
| committer | Juha Vuolle <juha.vuolle@qt.io> |
| commit time | Tue, 5 May 2026 10:38:16 +0000 |