Alexandru Croitor c9b3ac2210 CMake: Fix single standalone tests to use same Qt C++ language std
When using qt-cmake-standalone-test, we didn't tell CMake to use the
same C++ language standard that Qt used when it was configured.

We did tell CMake to do that when configuring tests with
qt-internal-configure-tests via the qt_build_tests macro.

To ensure the proper standard is set, we also need to
find_package(Qt6Core), because the std flag is derived from the
QT_FEATURE_cxxyz flag which is set by Core.

Change-Id: Ia41f2a24983ddab0107a6446743f7b054df8c033
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit effd6f63f1a4b7dc7b5e6bca41594f1d1562a713)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-03 18:58:17 +00:00
2022-04-05 17:03:40 +03:00
2020-11-16 10:02:08 +02:00
2022-07-20 11:16:36 +00:00
2015-08-18 19:59:14 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-08-03 18:58:17 +00:00
2012-09-07 15:39:31 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
Description
Qt Base (Core, Gui, Widgets, Network, ...)
822 MiB
Languages
C++ 84.3%
HTML 4.9%
C 3.9%
CMake 3.6%
Objective-C++ 2%
Other 0.8%