aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-03 14:50:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-06 13:56:03 +0100
commit6aa2ae483138d417f761c5111a866652e7c687a6 (patch)
tree2395d2b8fcff960ff7a7d447f399ced1e8400843 /examples
parent4d4234e75ce10895bc80df8be89f2ee28b2605b5 (diff)
Switch the widget binding example to C++ 17
Pick-to: 6.4 Change-Id: I08a2a5f1fdb029a3aefde4919b4f16b7460ec6e7 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgetbinding/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgetbinding/CMakeLists.txt b/examples/widgetbinding/CMakeLists.txt
index 8c61fcd9f..1c5eefa50 100644
--- a/examples/widgetbinding/CMakeLists.txt
+++ b/examples/widgetbinding/CMakeLists.txt
@@ -23,8 +23,8 @@ find_package(Qt6 COMPONENTS Core Gui Widgets)
# ================================ General configuration ======================================
-# Set CPP standard to C++11 minimum.
-set(CMAKE_CXX_STANDARD 11)
+# Set CPP standard to C++17 minimum.
+set(CMAKE_CXX_STANDARD 17)
# The wiggly library for which we will create bindings. You can change the name to something
# relevant for your project.