summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/qnx-arm-g++/qmake.conf
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2012-03-01 13:53:34 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-06 23:42:38 (GMT)
commit093929e29f22f116584fc36ccb5d545799c2871a (patch)
tree2da2b93a74ccc79cea2da89732f9f47a30124e5b /mkspecs/qws/qnx-arm-g++/qmake.conf
parent0324bb17f7cb0e855ca1d7adb2d0e171b19dfd06 (diff)
downloadQt-093929e29f22f116584fc36ccb5d545799c2871a.zip
Qt-093929e29f22f116584fc36ccb5d545799c2871a.tar.gz
Qt-093929e29f22f116584fc36ccb5d545799c2871a.tar.bz2
Move qws/qnx-* mkspec files from unsupported
As QNX in now a supported platform, move mkspec files away from unsupported folder. Change-Id: I31f806b5d5217cfb0420dc74dc7a5eea33c1598d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/qws/qnx-arm-g++/qmake.conf')
-rw-r--r--mkspecs/qws/qnx-arm-g++/qmake.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/mkspecs/qws/qnx-arm-g++/qmake.conf b/mkspecs/qws/qnx-arm-g++/qmake.conf
new file mode 100644
index 0000000..881ca0f
--- /dev/null
+++ b/mkspecs/qws/qnx-arm-g++/qmake.conf
@@ -0,0 +1,32 @@
+#
+# qmake configuration for qnx-arm-g++
+#
+# Written for QNX RTOS v6
+#
+
+include(../../common/qnx/qmake.conf)
+
+# modifications to gcc-base.conf and g++-base.conf
+
+#Bug in arm compiler for QNX
+QMAKE_CFLAGS_RELEASE = -O1
+QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO = -O1 -g
+
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
+
+QMAKE_CC = ntoarm-gcc
+QMAKE_CXX = ntoarm-g++
+
+QMAKE_LINK = ntoarm-g++
+QMAKE_LINK_SHLIB = $$QMAKE_LINK
+QMAKE_LINK_C = ntoarm-gcc
+QMAKE_LINK_C_SHLIB = $$QMAKE_LINK_C
+
+# modifications to linux.conf
+QMAKE_AR = ntoarm-ar cqs
+QMAKE_STRIP = ntoarm-strip
+QMAKE_RANLIB = ntoarm-ranlib
+QMAKE_OBJCOPY = ntoarm-objcopy
+
+load(qt_config)