Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Remove QT_NO_FOREACH and -DQT_NO_CAST_FROM_ASCII
Halla Rempt1f3ff8fb7774
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 52ba1fc11e..9795ba78aa 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<QPointF># and QPolygonF. This is a known upstream bug e.g.:# - https://phabricator.kde.org/D21314