2012-04-23 21:15:14 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for building Qt5 for the Nokia N9
|
|
|
|
# http://wiki.qt-project.org/Devices/N9
|
|
|
|
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
2012-09-03 13:38:31 +00:00
|
|
|
CONFIG += incremental gdb_dwarf_index
|
2012-04-23 21:15:14 +00:00
|
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
|
|
|
|
include(../../common/linux.conf)
|
|
|
|
include(../../common/gcc-base-unix.conf)
|
|
|
|
include(../../common/g++-unix.conf)
|
|
|
|
|
|
|
|
load(device_config)
|
|
|
|
|
|
|
|
# modifications to g++.conf
|
|
|
|
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
|
|
|
|
|
2012-05-16 23:13:34 +00:00
|
|
|
QMAKE_CFLAGS += -mfloat-abi=hard -mfpu=neon -march=armv7-a -mcpu=cortex-a8
|
2012-05-16 22:59:00 +00:00
|
|
|
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
|
2012-04-23 21:15:14 +00:00
|
|
|
|
|
|
|
QT_QPA_DEFAULT_PLATFORM = xcb
|
|
|
|
|
2012-05-11 22:46:54 +00:00
|
|
|
deviceSanityCheckCompiler()
|
|
|
|
|
2012-04-23 21:15:14 +00:00
|
|
|
load(qt_config)
|