qt5base-lts/mkspecs/qws/macx-nacl-g++/qmake.conf
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00

30 lines
755 B
Plaintext

#
# qmake configuration for building with nacl-g++
#
include(../../common/linux.conf)
include(../../common/qws.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
QT = core gui
QMAKE_CC = nacl-gcc
QMAKE_CXX = nacl-g++
QMAKE_LINK = nacl-g++
QMAKE_LINK_SHLIB = nacl-g++
QMAKE_AR = nacl-ar q
QMAKE_OBJCOPY = nacl-objcopy
QMAKE_STRIP = nacl-strip
# work around linker crash when using PIC
QMAKE_CFLAGS_STATIC_LIB -= -fPIC
QMAKE_CFLAGS_SHLIB -= -fPIC
QMAKE_CXXFLAGS_STATIC_LIB -= -fPIC
QMAKE_CXXFLAGS_SHLIB -= -fPIC
#QMAKE_CFLAGS += -pipe -DXP_UNIX -DNACL_STANDALONE=1
QMAKE_LIBS_DYNLOAD -= -ldl
load(qt_config)