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: Id2f92da5ca8319d6e8b6d1b30010199a77c16990
Reviewed-by: Rui Oliveira
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
commitb554c0f43d6a256d84e08afd2dbd27df115221c9
parentd2c4bdfaa5932c72f17b3d43b4c56bd997790fa7
authorKai Köhne <kai.koehne@qt.io>
committerKai Köhne <kai.koehne@qt.io>
commit timeFri, 13 May 2022 08:31:53 +0200