2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for Clang on OS X
|
|
|
|
#
|
|
|
|
|
2018-01-23 13:48:09 +00:00
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
|
2016-08-20 01:28:38 +00:00
|
|
|
|
2016-09-21 03:18:45 +00:00
|
|
|
QMAKE_APPLE_DEVICE_ARCHS = x86_64
|
|
|
|
|
2017-11-27 20:46:47 +00:00
|
|
|
# Opt-in xcb QPA support with XQuartz:
|
|
|
|
#
|
|
|
|
# configure \
|
|
|
|
# -pkg-config \
|
|
|
|
# -fontconfig -system-freetype \
|
|
|
|
# -system-xcb -xkb -no-opengl \
|
|
|
|
# -qt-xkbcommon -qt-xkbcommon-x11
|
|
|
|
#
|
|
|
|
# Ensure that pkg-config is properly configured, or that
|
|
|
|
# PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
|
|
|
|
# is set in your build environment.
|
|
|
|
#
|
|
|
|
# Due to irreconcilable differences between Cocoa
|
|
|
|
# and X11, OpenGL is currently not supported.
|
|
|
|
|
|
|
|
QMAKE_LIBS_X11 = -lX11 -lXext -lm
|
|
|
|
QMAKE_LIBDIR_X11 = /opt/X11/lib
|
|
|
|
QMAKE_INCDIR_X11 = /opt/X11/include
|
|
|
|
|
2013-03-02 14:13:38 +00:00
|
|
|
include(../common/macx.conf)
|
2013-03-02 14:46:37 +00:00
|
|
|
include(../common/gcc-base-mac.conf)
|
2012-01-23 12:17:23 +00:00
|
|
|
include(../common/clang.conf)
|
2012-05-03 10:42:16 +00:00
|
|
|
include(../common/clang-mac.conf)
|
2013-02-15 16:27:51 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
load(qt_config)
|