summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-clang/qmake.conf
blob: 259595221f73e494799b573121655a2a462c0867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# qmake configuration for Clang on OS X
#

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.10

QMAKE_APPLE_DEVICE_ARCHS = x86_64

# 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

include(../common/macx.conf)
include(../common/gcc-base-mac.conf)
include(../common/clang.conf)
include(../common/clang-mac.conf)

load(qt_config)