summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/linux-sh-g++
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-03-23 09:18:55 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:18:55 (GMT)
commite5fcad302d86d316390c6b0f62759a067313e8a9 (patch)
treec2afbf6f1066b6ce261f14341cf6d310e5595bc1 /mkspecs/qws/linux-sh-g++
downloadQt-e5fcad302d86d316390c6b0f62759a067313e8a9.zip
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.gz
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.bz2
Long live Qt 4.5!
Diffstat (limited to 'mkspecs/qws/linux-sh-g++')
-rw-r--r--mkspecs/qws/linux-sh-g++/qmake.conf20
-rw-r--r--mkspecs/qws/linux-sh-g++/qplatformdefs.h1
2 files changed, 21 insertions, 0 deletions
diff --git a/mkspecs/qws/linux-sh-g++/qmake.conf b/mkspecs/qws/linux-sh-g++/qmake.conf
new file mode 100644
index 0000000..61b57a3
--- /dev/null
+++ b/mkspecs/qws/linux-sh-g++/qmake.conf
@@ -0,0 +1,20 @@
+#
+# qmake configuration for building for SH devices with sh3-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC = sh3-linux-gcc
+QMAKE_CXX = sh3-linux-g++
+QMAKE_LINK = sh3-linux-g++
+QMAKE_LINK_SHLIB = sh3-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR = sh3-linux-ar cqs
+QMAKE_OBJCOPY = sh3-linux-objcopy
+QMAKE_STRIP = sh3-linux-strip
+
+load(qt_config)
diff --git a/mkspecs/qws/linux-sh-g++/qplatformdefs.h b/mkspecs/qws/linux-sh-g++/qplatformdefs.h
new file mode 100644
index 0000000..99e9a27
--- /dev/null
+++ b/mkspecs/qws/linux-sh-g++/qplatformdefs.h
@@ -0,0 +1 @@
+#include "../../linux-g++/qplatformdefs.h"