summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-mipsel-ci20-g++/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/devices/linux-mipsel-ci20-g++/qmake.conf')
-rw-r--r--mkspecs/devices/linux-mipsel-ci20-g++/qmake.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/mkspecs/devices/linux-mipsel-ci20-g++/qmake.conf b/mkspecs/devices/linux-mipsel-ci20-g++/qmake.conf
new file mode 100644
index 0000000000..6e5311eb45
--- /dev/null
+++ b/mkspecs/devices/linux-mipsel-ci20-g++/qmake.conf
@@ -0,0 +1,21 @@
+#
+# qmake configuration for building with mips-mti-linux-gnu-g++
+# build for CI20 targets X11
+#
+
+CROSS_COMPILE = mips-mti-linux-gnu-
+
+include(../common/linux_device_pre.conf)
+
+QMAKE_CFLAGS = -EL -march=mips32r2
+QMAKE_CXXFLAGS = $${QMAKE_CFLAGS}
+QMAKE_LFLAGS = -EL
+
+QT_QPA_DEFAULT_PLATFORM = xcb
+
+QMAKE_LIBS_EGL = -lEGL -lIMGegl -lusc
+QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 $${QMAKE_LIBS_EGL}
+
+include(../common/linux_device_post.conf)
+
+load(qt_config)