1618ef236b
Use these mkspecs to switch to the new libc++ C++ runtime library, which in turn makes it possible to enable C++11 support with clang. Change-Id: If92908592f8bee4829a1bad747fe396f527d26c7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
22 lines
530 B
Plaintext
22 lines
530 B
Plaintext
#
|
|
# qmake configuration for Clang on OS X
|
|
#
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
TARGET_PLATFORM = macx
|
|
TEMPLATE = app
|
|
CONFIG += qt warn_on release app_bundle incremental global_init_link_order lib_version_first plugin_no_soname link_prl
|
|
QT += core gui
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
include(../common/mac.conf)
|
|
include(../common/gcc-base-macx.conf)
|
|
include(../common/clang.conf)
|
|
include(../common/clang-mac.conf)
|
|
|
|
QMAKE_OBJECTIVE_CFLAGS += -stdlib=libc++
|
|
QMAKE_CXXFLAGS += -stdlib=libc++
|
|
QMAKE_LFLAGS += -stdlib=libc++
|
|
|
|
load(qt_config)
|