15fcb229cb
Change-Id: I7aa2f1a719c424079d7f0d7b3410f293cee05fa9 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
34 lines
1011 B
Plaintext
34 lines
1011 B
Plaintext
#
|
|
# qmake configuration for ST Ericsson's Snowball
|
|
# http://qt-project.org/wiki/Snowball
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
TARGET_PLATFORM = unix
|
|
TEMPLATE = app
|
|
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
|
|
QT += core gui
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
include(../../common/linux.conf)
|
|
include(../../common/gcc-base-unix.conf)
|
|
include(../../common/g++-unix.conf)
|
|
|
|
load(device_config)
|
|
|
|
QMAKE_CC = $${CROSS_COMPILE}gcc
|
|
QMAKE_CXX = $${CROSS_COMPILE}g++
|
|
QMAKE_LINK = $${QMAKE_CXX}
|
|
QMAKE_LINK_SHLIB = $${QMAKE_CXX}
|
|
|
|
# modifications to linux.conf
|
|
QMAKE_AR = $${CROSS_COMPILE}ar cqs
|
|
QMAKE_OBJCOPY = $${CROSS_COMPILE}objcopy
|
|
QMAKE_STRIP = $${CROSS_COMPILE}strip
|
|
|
|
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf \
|
|
-Wl,-rpath-link,$$[QT_SYSROOT]/lib/arm-linux-gnueabihf
|
|
|
|
deviceSanityCheckCompiler()
|
|
|
|
load(qt_config)
|