Skip to content

Instantly share code, notes, and snippets.

@torarnv
Created February 23, 2012 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torarnv/1892584 to your computer and use it in GitHub Desktop.
Save torarnv/1892584 to your computer and use it in GitHub Desktop.
commit 0b9904aab346fc647270ba3fddc8e2b2ef3ed79c
Author: Simon Hausmann <simon.hausmann@nokia.com>
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 <jocelyn.turcotte@nokia.com>
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
QMAKE_INCREMENTAL_STYLE = sublib
-include(../common/linux.conf)
-include(../common/gcc-base-unix.conf)
-include(../common/g++-unix.conf)
+include(../linux-arm-gnueabi-g++/qmake.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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment