summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-g++-maemo/qmake.conf
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-11-11 11:25:56 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-11-13 13:22:14 (GMT)
commitd0edd9b3d6ee5dba8e9a23d0fb9aaab74924d2ad (patch)
treed27deeffa3e94c98b56af574c710110a2c7ec707 /mkspecs/linux-g++-maemo/qmake.conf
parent6b651e5f69b656c6c6fa05b6a81674a4fd56a160 (diff)
downloadQt-d0edd9b3d6ee5dba8e9a23d0fb9aaab74924d2ad.zip
Qt-d0edd9b3d6ee5dba8e9a23d0fb9aaab74924d2ad.tar.gz
Qt-d0edd9b3d6ee5dba8e9a23d0fb9aaab74924d2ad.tar.bz2
Add mkspec for Maemo 5 & 6
Reviewed-By: Robert Griebl Reviewed-By: Thiago Macieira
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 0000000..067d857
--- /dev/null
+++ b/mkspecs/linux-g++-maemo/qmake.conf
@@ -0,0 +1,28 @@
+#
+# qmake configuration for Maemo 5 & 6
+#
+
+MAKEFILE_GENERATOR = UNIX
+TEMPLATE = app
+CONFIG += qt warn_on release incremental link_prl
+QT += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/g++.conf)
+include(../common/linux.conf)
+
+# Work round scratchbox not having standard paths in it's default search path
+QMAKE_LFLAGS += -Wl,-rpath-link=/lib
+QMAKE_LFLAGS += -Wl,-rpath-link=/usr/lib
+
+# 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
+
+# Work round PowerVR SGX 1.3 driver bug with glScissor & FBOs:
+DEFINES += QT_GL_NO_SCISSOR_TEST
+
+
+load(qt_config)