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 \
|
2018-03-30 00:12:36 +00:00
|
|
|
# -system-xcb -no-opengl
|
2017-11-27 20:46:47 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2018-03-30 00:12:36 +00:00
|
|
|
# If you don't want to use pkg-config, you can add:
|
|
|
|
# -L/opt/X11/lib -I/opt/X11/include
|
|
|
|
# to the configure options.
|
|
|
|
#
|
2017-11-27 20:46:47 +00:00
|
|
|
# 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)
|