From 4e8720d413ceca288408ae34bc726f768ca467c6 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 13 Jun 2014 18:59:30 -0400 Subject: Use new, supported APIs in OS X 10.10 and iOS 8.0 to get the OS version. Gestalt is deprecated so we can't use it long term. At the same time, the new API is cross platform, so we'll no longer have to parse strings in -[UIDevice systemVersion] either. Change-Id: Ic81797174c1a3d50b47b9b209205a6a506cc75ef Reviewed-by: Rafael Roquetto --- src/tools/bootstrap/bootstrap.pro | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/tools') diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index 2b58bff8f3..3924ecfa7f 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -130,9 +130,15 @@ win32:SOURCES += ../../corelib/io/qfilesystemengine_win.cpp \ ../../corelib/plugin/qsystemlibrary.cpp \ mac { - SOURCES += ../../corelib/kernel/qcoreapplication_mac.cpp \ - ../../corelib/kernel/qcore_mac.cpp - LIBS += -framework CoreServices + SOURCES += \ + ../../corelib/kernel/qcoreapplication_mac.cpp \ + ../../corelib/kernel/qcore_mac.cpp + OBJECTIVE_SOURCES += \ + ../../corelib/kernel/qcore_mac_objc.mm + + LIBS += -framework Foundation + osx: LIBS_PRIVATE += -framework CoreServices + ios: LIBS_PRIVATE += -framework UIKit } macx { -- cgit v1.2.3