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

fix qt6 detection on macos

Ivan Yossia5ff254acc8a
diff --git a/packaging/macos/osxdeploy.sh b/packaging/macos/osxdeploy.sh
index c8f31e7c66..29845a96d7 100755
--- a/packaging/macos/osxdeploy.sh
+++ b/packaging/macos/osxdeploy.sh
@@ -92,7 +92,7 @@ export PATH=${KIS_INSTALL_DIR}/bin:$PATH
# flags for OSX environment
echo "Trying to guess Qt version..."
-if [[ -n "${KIS_INSTALL_DIR}/lib/QtCore.framework/Versions/A/QtCore" ]]; then
+if [[ -e "${KIS_INSTALL_DIR}/lib/QtCore.framework/Versions/A/QtCore" ]]; then
echo " Found Qt6"
# We only support from 12 up
export MACOSX_DEPLOYMENT_TARGET=12