Qt 6.11 is out! See what's new in the release
blog
How C++ 20 Setup for Qt creator ?
-
Any guidance available for setting C++ 20 on Qt Creator ?
• Which Qt version are you using : Qt 6.9.1
• Which version of QtCreator are you using : 17.0.0
• Which platform : Linux KDEneon (Ubuntu 24.4)
• How did you install it : qt-online-installer-linux-x64-4.10.0


-
Add these lines in your
CMakeLists.txtfile:set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) -
Add these lines in your
CMakeLists.txtfile:set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON)@cristian-adam Thanks, it works. Sorry I am new to all this.
-
System has marked this topic as solved on