Examples: Remove CMAKE_CXX_STANDARD_REQUIRED settings


Enforcing CMAKE_CXX_STANDARD_REQUIRED without setting an explicit
CMAKE_CXX_STANDARD makes little sense. Qt already enforces C++17 by

   INTERFACE_COMPILE_FEATURES "cxx_std_17"

but this is enforced with and without CMAKE_CXX_STANDARD_REQUIRED.

Pick-to: 6.11 6.12
Change-Id: I02d6faa4f912d828249b2943acba8aa3498cfb98
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit2d0582ed690583213e1c5b950e27a5441158f416
parent47e3f29978e66c5d02ee8f7a9bc33f8b8d4d219f
authorKai Koehne <kai.koehne@qt.io>
committerKai Koehne <kai.koehne@qt.io>
commit timeTue, 23 Jun 2026 15:04:03 +0000