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++
Include <QForeach> when building with Qt6
Halla Rempt24431682dcfb
diff --git a/libs/global/kis_pointer_utils.h b/libs/global/kis_pointer_utils.hindex 564bd1f66c..015e1f5ba1 100644--- a/libs/global/kis_pointer_utils.h+++ b/libs/global/kis_pointer_utils.h@@ -8,6 +8,9 @@#define KIS_POINTER_UTILS_H#include <QSharedPointer>+#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)+#include <QForeach>+#endif/*** Convert a raw pointer into a shared pointer