Improve examples CMakeLists.txt
- Remove '# generated from ' comments
- Only opt into CMAKE_AUTOUIC if .ui files are involved
- Only opt into CMAKE_AUTORCC if .qrc files are involved
- Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR
- Combine multiple find_package(Qt6 ... calls)
- use REQUIRED COMPONENTS
- sort components alphabetically
- Fix wrong indentations
- Use (only) one empty line after multi-line commands
Pick-to: 6.3
Change-Id: I2e2a59159c15dd1412265f7dc90aed418a1d98d1
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>