Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
commit 0b9904aab346fc647270ba3fddc8e2b2ef3ed79c
Author: Simon Hausmann <>
Date: Fri Feb 10 12:08:56 2012 +0100
Fix Harmattan compile target to be usable outside of Scratchbox
Simply include the generic arm-gnueabi configuration. This should work
from within and outside sbox, but at the same time keeping this mkspec
allows us to enable Harmattan specific features such as the xinput2/touch
support in the xcb back-end.
Change-Id: I5cc0cdc3e222deb6374580392c3e3aadfc3a4bd9
Reviewed-by: Jocelyn Turcotte <>
diff --git a/mkspecs/linux-g++-maemo/qmake.conf b/mkspecs/linux-g++-maemo/qmake.conf
index 23f1f71..d5828ab 100644
--- a/mkspecs/linux-g++-maemo/qmake.conf
+++ b/mkspecs/linux-g++-maemo/qmake.conf
@@ -10,19 +10,5 @@ CONFIG += nostrip
QT += core gui
-# Override the default lib/include directories for scratchbox:
-QMAKE_INCDIR_X11 = /usr/include/X11
-QMAKE_INCDIR_OPENGL = /usr/include
-QMAKE_LIBDIR_X11 = /usr/lib
-# We still need to generate debug symbols in release mode to put into the *-dbg packages:
-QMAKE_CFLAGS_RELEASE += -g -Wno-psabi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment