diff --git a/CMakeLists.txt b/CMakeLists.txt index 52ba1fc11e0..9795ba78aaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -598,6 +598,12 @@ add_definitions( -DQT_USE_FAST_OPERATOR_PLUS ) +remove_definitions( + -DQT_NO_CAST_FROM_ASCII + -DQT_NO_FOREACH +) + + # MSVC is unable to disambiguate between definitions of QVector # and QPolygonF. This is a known upstream bug e.g.: # - https://phabricator.kde.org/D21314