2012-05-31 03:18:26 +00:00
|
|
|
QT_QPA_DEFAULT_PLATFORM = eglfs
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
MAKEFILE_GENERATOR = UNIX
|
2014-01-14 13:23:49 +00:00
|
|
|
CONFIG += incremental
|
2012-05-31 03:18:26 +00:00
|
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
|
2012-06-06 15:54:55 +00:00
|
|
|
include(../../common/linux.conf)
|
|
|
|
include(../../common/gcc-base-unix.conf)
|
|
|
|
include(../../common/g++-unix.conf)
|
2012-05-31 03:18:26 +00:00
|
|
|
|
|
|
|
!load(device_config) {
|
|
|
|
error(Could not successfully load device configuration)
|
|
|
|
}
|
|
|
|
|
|
|
|
# modifications to g++-unix.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
|
2013-04-22 21:22:09 +00:00
|
|
|
QMAKE_NM = $${CROSS_COMPILE}nm -P
|
2012-05-31 03:18:26 +00:00
|
|
|
QMAKE_STRIP = $${CROSS_COMPILE}strip
|
2015-12-07 21:09:35 +00:00
|
|
|
|
2018-10-19 09:41:58 +00:00
|
|
|
# modifications to gcc-base.conf
|
|
|
|
QMAKE_AR_LTCG = $${CROSS_COMPILE}gcc-ar cqs
|
|
|
|
QMAKE_NM_LTCG = $${CROSS_COMPILE}gcc-nm -P
|
|
|
|
|
2015-12-07 21:09:35 +00:00
|
|
|
contains(DISTRO_OPTS, deb-multi-arch): \
|
2016-01-19 15:48:40 +00:00
|
|
|
QMAKE_PKG_CONFIG = $${CROSS_COMPILE}pkg-config
|