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.
Pick-to: 6.3
Task-number: QTBUG-98867
Change-Id: I02034035f8c67a1e55a826898231409c07ebd6bf
Reviewed-by: Rui Oliveira
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
| commit | 6843593ff41a90941c7ffd50db028c155d6e3418 |
| parent | 8f514d77b6d4044a87ebc932737fc6fa3a1286b8 |
| author | Kai Köhne <kai.koehne@qt.io> |
| committer | Kai Köhne <kai.koehne@qt.io> |
| commit time | Fri, 13 May 2022 08:31:28 +0200 |