From 56b21f3107fb36edeed15544a30238e4f57b977c Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Sat, 20 Oct 2018 10:59:37 +0200 Subject: added mac target for qt 5.6 --- tikzit.pro | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tikzit.pro') 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 -- cgit v1.2.3