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>
commit6843593ff41a90941c7ffd50db028c155d6e3418
parent8f514d77b6d4044a87ebc932737fc6fa3a1286b8
authorKai Köhne <kai.koehne@qt.io>
committerKai Köhne <kai.koehne@qt.io>
commit timeFri, 13 May 2022 08:31:28 +0200