Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiom
Using REQUIRED as a prefix instead of suffix works better with
OPTIONAL_COMPONENTS, and is also the order in the CMake manual.
Task-number: QTBUG-98867
Pick-to: 6.3
Change-Id: I2f9652903a2db39b898e12500c74946c60ef880a
Reviewed-by: Rui Oliveira
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
| commit | c5b7a27d12f846386f55c5dd2ecb770aa454b09b |
| parent | 3344ef880df8a8fec4eb71b007e9eba9238ad279 |
| author | Kai Köhne <kai.koehne@qt.io> |
| committer | Kai Köhne <kai.koehne@qt.io> |
| commit time | Fri, 13 May 2022 08:31:45 +0200 |