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: Ibbad0b969010c06469c12895f71ac57e627daa9e
Reviewed-by: Rui Oliveira
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
| commit | f853fe1967ef606d9e528765f4e0f7263fc65655 |
| parent | 9bc9c2a48dd197ebe9e0500b9ebdc239621549f1 |
| author | Kai Köhne <kai.koehne@qt.io> |
| committer | Kai Köhne <kai.koehne@qt.io> |
| commit time | Thu, 12 May 2022 17:41:21 +0200 |