summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-g++-maemo/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/linux-g++-maemo/qmake.conf')
-rw-r--r--mkspecs/linux-g++-maemo/qmake.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/mkspecs/linux-g++-maemo/qmake.conf b/mkspecs/linux-g++-maemo/qmake.conf
new file mode 100644
index 0000000000..23f1f71e0f
--- /dev/null
+++ b/mkspecs/linux-g++-maemo/qmake.conf
@@ -0,0 +1,28 @@
+#
+# qmake configuration for Maemo 5 & 6
+#
+
+MAKEFILE_GENERATOR = UNIX
+TARGET_PLATFORM = unix
+TEMPLATE = app
+CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
+CONFIG += nostrip
+QT += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/linux.conf)
+include(../common/gcc-base-unix.conf)
+include(../common/g++-unix.conf)
+
+
+# Override the default lib/include directories for scratchbox:
+QMAKE_INCDIR_X11 = /usr/include/X11
+QMAKE_INCDIR_OPENGL = /usr/include
+QMAKE_LIBDIR_X11 = /usr/lib
+QMAKE_LIBDIR_OPENGL = /usr/lib
+
+# We still need to generate debug symbols in release mode to put into the *-dbg packages:
+QMAKE_CFLAGS_RELEASE += -g -Wno-psabi
+QMAKE_CXXFLAGS_RELEASE += -g -Wno-psabi
+
+load(qt_config)