d28073d9eb
The former applies both on Mac OS X and iOS, but 'macx' is specific to Mac OS X. ios.conf and macx.conf now share most of their settings in the common mac.conf. We set the default QMAKE_MAC_SDK before loading mac.conf, so that any overrides in the device config will apply afterwards. This means configure's mkspec parsing will be able to read the QMAKE_MAC_SDK. Change-Id: I0c7e26a6a0103e19b23ef152aa9e4ab461cee632 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
30 lines
701 B
Plaintext
30 lines
701 B
Plaintext
#
|
|
# qmake configuration for common Mac OS (OSX and iOS)
|
|
#
|
|
|
|
!load(device_config): error(Could not successfully load device configuration)
|
|
|
|
QMAKE_PLATFORM += mac
|
|
|
|
QMAKE_RESOURCE = /Developer/Tools/Rez
|
|
QMAKE_EXTENSION_SHLIB = dylib
|
|
QMAKE_LIBDIR =
|
|
|
|
# sdk.prf will prefix the proper SDK sysroot
|
|
QMAKE_INCDIR_OPENGL = \
|
|
/System/Library/Frameworks/OpenGL.framework/Headers \
|
|
/System/Library/Frameworks/AGL.framework/Headers/
|
|
|
|
QMAKE_FIX_RPATH = install_name_tool -id
|
|
|
|
QMAKE_LFLAGS_RPATH =
|
|
|
|
QMAKE_LIBS_DYNLOAD =
|
|
QMAKE_LIBS_OPENGL = -framework OpenGL -framework AGL
|
|
QMAKE_LIBS_THREAD =
|
|
|
|
QMAKE_AR = ar cq
|
|
QMAKE_RANLIB = ranlib -s
|
|
|
|
include(unix.conf)
|