qt5base-lts/mkspecs/unsupported/linux-scratchbox2-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

37 lines
1.1 KiB
Plaintext

#
# qmake configuration derived from linux-g++
#
# This mkspec is intended for use with scratchbox 2 (sb2) and assumes the
# default sb2 target is set appropriately, or you will have to append the
# appropriate -t $target argument to sb2
# If you want to use pkg-config you have to explicitly force it by passing
# -force-pkg-config to configure. You will probably want to export your
# PKG_CONFIG_PATH shell variable in order for the host pkg-config to
# correctly query and utilize your targets .pc files (normally stored in
# $staging/usr/lib/pkgconfig)
MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl
QT += core gui
QMAKE_INCREMENTAL_STYLE = sublib
include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
# modifications to g++.conf
QMAKE_CC = sb2 gcc
QMAKE_CXX = sb2 g++
QMAKE_LINK = sb2 g++
QMAKE_LINK_SHLIB = sb2 g++
# modifications to linux.conf
QMAKE_AR = sb2 ar cqs
QMAKE_OBJCOPY = sb2 objcopy
QMAKE_STRIP = sb2 strip
load(qt_config)