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