diff -r 1f42c03fafca -r 5760cbb32bc0 CMakeLists.txt --- a/CMakeLists.txt Sun Jul 25 20:29:14 2021 +0300 +++ b/CMakeLists.txt Sun Jul 25 20:39:21 2021 +0300 @@ -18,6 +18,7 @@ find_package(OpenGL REQUIRED) include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) include_directories(${GLM_INCLUDE_DIR}) +add_definitions(-DQT_NO_KEYWORDS) source_group("1 Foundation code" REGULAR_EXPRESSION "src/.+\\.(cpp|h|ui)") source_group("4 OpenGL renderer" REGULAR_EXPRESSION "src/gl/.+\\.(cpp|h|ui)") source_group("5 LDraw line types" REGULAR_EXPRESSION "src/linetypes/.+\\.(cpp|h|ui)")