diff options
Diffstat (limited to 'mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf')
-rw-r--r-- | mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf b/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf new file mode 100644 index 0000000..f1b78c3 --- /dev/null +++ b/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf @@ -0,0 +1,32 @@ +# +# 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 + +# You will probably want to set your PKG_CONFIG_PATH 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 +TEMPLATE = app +CONFIG += qt warn_on release incremental link_prl +QT += core gui +QMAKE_INCREMENTAL_STYLE = sublib + +include(../../common/g++.conf) +include(../../common/linux.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) |