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++
When using Qt6 Krita should only support Windows 10 and higher
Dmitry Kazakov8a15ccc383d0
diff --git a/krita/CMakeLists.txt b/krita/CMakeLists.txtindex f8e8d50fc9..a331441dec 100644--- a/krita/CMakeLists.txt+++ b/krita/CMakeLists.txt@@ -176,7 +176,11 @@ install(DIRECTORY DESTINATION ${KDE_INSTALL_DATADIR}/krita/shortcuts)if (WIN32)configure_file(versioninfo.rc.in ${CMAKE_CURRENT_BINARY_DIR}/versioninfo.rc)- configure_file(krita.exe.manifest.in ${CMAKE_CURRENT_BINARY_DIR}/krita.exe.manifest)+ if (QT_MAJOR_VERSION STREQUAL "6")+ configure_file(krita6.exe.manifest.in ${CMAKE_CURRENT_BINARY_DIR}/krita.exe.manifest)+ else()+ configure_file(krita.exe.manifest.in ${CMAKE_CURRENT_BINARY_DIR}/krita.exe.manifest)+ endif()if (MINGW)# CMake does not know how to embed manifest on mingw, so we create our own RC file to be includedfile(WRITE ${CMAKE_CURRENT_BINARY_DIR}/krita.exe.manifest.rc "1 24 \"krita.exe.manifest\"\n")diff --git a/krita/krita6.exe.manifest.in b/krita/krita6.exe.manifest.innew file mode 100644index 0000000000..bdae94a288--- /dev/null+++ b/krita/krita6.exe.manifest.in@@ -0,0 +1,15 @@+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">+ <assemblyIdentity type="win32" name="KritaFoundation.Krita.krita" version="${KRITA_STABLE_VERSION_MAJOR}.${KRITA_STABLE_VERSION_MINOR}.${KRITA_VERSION_RELEASE}.${KRITA_VERSION_REVISION}"/>+ <application>+ <windowsSettings>+ <activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>+ </windowsSettings>+ </application>+ <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">+ <application>+ <!-- Supports Windows 10 and 11 -->+ <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />+ </application>+ </compatibility>+</assembly>