CMake: Try to find QtWidgets


Required for some examples to be built.

Pick-to: 6.10 6.9
Change-Id: I2dfb5a71113eb13b4e97dfecdd969e8b024659bf
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit090131843b619d63d3871884050b62911d665732
parentd6830d7bf81eda756e485019a3fc7212ad7b6bbb
authorArno Rehn <a.rehn@menlosystems.com>
committerArno Rehn <a.rehn@menlosystems.com>
commit timeThu, 5 Jun 2025 11:40:17 +0000