OK found a solution by looking at a similar question: QtCreator build system damaged after OSX update
You can change the minimum target of Mac OS X by updating the qmake.conf file for clang in your Qt installation (I use Qt5.3). The file is located in the Qt installation directory in Qt / 5.3 / clang_64 / mkspecs / macx-clang / qmake.conf An updated version is given below:
# # qmake configuration for Clang on OS X # MAKEFILE_GENERATOR = UNIX CONFIG += app_bundle incremental global_init_link_order lib_version_first plugin_no_soname QMAKE_INCREMENTAL_STYLE = sublib include(../common/macx.conf) include(../common/gcc-base-mac.conf) include(../common/clang.conf) include(../common/clang-mac.conf) #QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7 load(qt_config)
Note that I commented on the default version of QMAKE_MACOSX_DEPLOYMENT_TARGET, which provides a Qt installation.
Finally, you can also specify which sdk to use in your .pro file, as shown below:
macx { QMAKE_MAC_SDK = macosx10.9 }
Bigonotation
source share