From 177be5dc8c34f840e07e4ac33e182b012420893b Mon Sep 17 00:00:00 2001
From: Andras Becsi <andras.becsi@digia.com>
Date: Tue, 18 Mar 2014 17:01:47 +0100
Subject: [PATCH] Fix the Mac build when using the Qt SDK

To fix the build of the core library override Qt's default
minimum target version of 10.6 because we need to use libc++
for chromium which is only available from 10.7.

Change-Id: I8896c4741d1c9b7bfe6b1c045704aeb2d5affd17
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
---
 src/core/core_module.pro | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/core/core_module.pro b/src/core/core_module.pro
index 23503e32e..ef9721a11 100644
--- a/src/core/core_module.pro
+++ b/src/core/core_module.pro
@@ -1,6 +1,9 @@
 MODULE = webenginecore
 TARGET = QtWebEngineCore
 
+# We depend on libc++ to build chromium so our macosx-version-min has to be 10.7
+QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
+
 QT += qml quick
 QT_PRIVATE += qml-private quick-private gui-private core-private
 
-- 
GitLab