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++
Fix build of kis_input_manager_p.cpp on Qt5
Dmitry Kazakovf6d1c51380de
diff --git a/libs/global/KisPortingUtils.h b/libs/global/KisPortingUtils.hindex 2d5c199497..7b87e8b44a 100644--- a/libs/global/KisPortingUtils.h+++ b/libs/global/KisPortingUtils.h@@ -58,6 +58,25 @@ inline QString stringRemoveFirst(QString str)#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))#define Q_UNREACHABLE_RETURN(...) Q_UNREACHABLE(); return __VA_ARGS__++namespace Qt {+inline namespace Literals {+inline namespace StringLiterals {++constexpr inline QLatin1Char operator""_L1(char ch) noexcept+{+ return QLatin1Char(ch);+}++constexpr inline QLatin1String operator""_L1(const char *str, size_t size) noexcept+{+ return QLatin1String(str, size);+}++} // StringLiterals+} // Literals+} // Qt+#endif