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.txt
file:set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON)
-
Add these lines in your
CMakeLists.txt
file:set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON)
@cristian-adam Thanks, it works. Sorry I am new to all this.
-
D Dervish has marked this topic as solved