05044cd982
This mkspec provides default compiler settings for cross-compiling Qt5 for ARM. Change-Id: If58a1833141ab305bd57928796f7444e9b7aa2b3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
27 lines
834 B
Plaintext
27 lines
834 B
Plaintext
#
|
|
# qmake configuration for building with arm-linux-gnueabi-g++
|
|
#
|
|
|
|
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)
|
|
|
|
# modifications to g++.conf
|
|
QMAKE_CC = arm-linux-gnueabi-gcc
|
|
QMAKE_CXX = arm-linux-gnueabi-g++
|
|
QMAKE_LINK = arm-linux-gnueabi-g++
|
|
QMAKE_LINK_SHLIB = arm-linux-gnueabi-g++
|
|
|
|
# modifications to linux.conf
|
|
QMAKE_AR = arm-linux-gnueabi-ar cqs
|
|
QMAKE_OBJCOPY = arm-linux-gnueabi-objcopy
|
|
QMAKE_STRIP = arm-linux-gnueabi-strip
|
|
load(qt_config)
|