summaryrefslogtreecommitdiff
path: root/tikzit.pro
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-10-20 10:59:37 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-10-20 10:59:37 +0200
commit56b21f3107fb36edeed15544a30238e4f57b977c (patch)
tree85ce810e29413f1835bf2ce76cce2218e070bf98 /tikzit.pro
parent092c5c6b84b92a40e210ee7447fc7dbd3b492ca4 (diff)
added mac target for qt 5.6
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