summaryrefslogtreecommitdiff
path: root/tikzit.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit.pro')
-rw-r--r--tikzit.pro7
1 files changed, 4 insertions, 3 deletions
diff --git a/tikzit.pro b/tikzit.pro
index c0d8729..c4b8f84 100644
--- a/tikzit.pro
+++ b/tikzit.pro
@@ -31,9 +31,10 @@ win32:RC_ICONS += images/tikzdoc.ico
macx:ICON = images/tikzit.icns
# linux-g++:QMAKE_CXXFLAGS += -Wsuggest-override
-#!versionAtLeast(QT_VERSION, 5.7.0) {
-# macx:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
-#}
+# Qt 5.8 and above drop support for Mountain Lion
+contains(QT_VERSION, ^5\\.[5-7].*) {
+ macx:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
+}
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings