Skip to content

armgit / krita

Public Imported from GitHub
0

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++

Qt6 minimum macOS version is 12

Freya Lupen0011c2ec310e
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 71a723e279..989f7af4ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,11 @@ if (APPLE)
set(CMAKE_MACOSX_RPATH 1)
set(BUILD_WITH_INSTALL_RPATH 1)
set(MACOS_GUI_TEST "GUI")
- add_definitions(-mmacosx-version-min=10.13 -Wno-macro-redefined -Wno-deprecated-register)
+ if (BUILD_WITH_QT6)
+ add_definitions(-mmacosx-version-min=12 -Wno-macro-redefined -Wno-deprecated-register)
+ else()
+ add_definitions(-mmacosx-version-min=10.14 -Wno-macro-redefined -Wno-deprecated-register)
+ endif()
if (CMAKE_OSX_ARCHITECTURES)
message(STATUS "CMake OSX architectures: ${CMAKE_OSX_ARCHITECTURES}")
endif()
diff --git a/krita/Info.plist.template b/krita/Info.plist.template
index 6e3f09d8c6..1841b8d0f0 100644
--- a/krita/Info.plist.template
+++ b/krita/Info.plist.template
@@ -37,7 +37,7 @@
<key>LSRequiresCarbon</key>
<true/>
<key>LSMinimumSystemVersion</key>
- <string>10.13</string>
+ <string>10.14</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>NSHumanReadableCopyright</key>
diff --git a/packaging/macos/osxdeploy.sh b/packaging/macos/osxdeploy.sh
index 5a18ba5949..d5c645ef79 100755
--- a/packaging/macos/osxdeploy.sh
+++ b/packaging/macos/osxdeploy.sh
@@ -81,7 +81,7 @@ KRITA_DMG_TEMPLATE=${BUILDROOT}/_kritadmg-template
export PATH=${KIS_INSTALL_DIR}/bin:$PATH
# flags for OSX environment
-# We only support from 10.13 up
+# We only support from 10.14 up
export MACOSX_DEPLOYMENT_TARGET=10.14
export QMAKE_MACOSX_DEPLOYMENT_TARGET=10.14