summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/linux-mips-g++/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/qws/linux-mips-g++/qmake.conf')
-rw-r--r--mkspecs/qws/linux-mips-g++/qmake.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/mkspecs/qws/linux-mips-g++/qmake.conf b/mkspecs/qws/linux-mips-g++/qmake.conf
new file mode 100644
index 0000000..3c55342
--- /dev/null
+++ b/mkspecs/qws/linux-mips-g++/qmake.conf
@@ -0,0 +1,22 @@
+#
+# qmake configuration for building with mipsel-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC = mips-linux-gcc
+QMAKE_CXX = mips-linux-g++
+QMAKE_CFLAGS += -mips32
+QMAKE_CXXFLAGS += -mips32
+QMAKE_LINK = mips-linux-g++
+QMAKE_LINK_SHLIB = mips-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR = mips-linux-ar cqs
+QMAKE_OBJCOPY = mips-linux-objcopy
+QMAKE_STRIP = mips-linux-strip
+
+load(qt_config)