diff options
author | Jyri Tahtela <jyri.tahtela@nokia.com> | 2011-12-05 14:56:28 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-06 00:35:49 +0100 |
commit | 05044cd98234b27561a68fc969abe3d23712f055 (patch) | |
tree | d801a44f9d301243e248ffa054082f46571912b5 /mkspecs/linux-arm-gnueabi-g++/qmake.conf | |
parent | e2d5c06e1afca1ae7f296fa9293dc7c2c22f90e6 (diff) |
Add new mkspec for cross-compiling Qt5 for ARM
This mkspec provides default compiler settings for cross-compiling
Qt5 for ARM.
Change-Id: If58a1833141ab305bd57928796f7444e9b7aa2b3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/linux-arm-gnueabi-g++/qmake.conf')
-rw-r--r-- | mkspecs/linux-arm-gnueabi-g++/qmake.conf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mkspecs/linux-arm-gnueabi-g++/qmake.conf b/mkspecs/linux-arm-gnueabi-g++/qmake.conf new file mode 100644 index 0000000000..13b497e42f --- /dev/null +++ b/mkspecs/linux-arm-gnueabi-g++/qmake.conf @@ -0,0 +1,26 @@ +# +# 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) |