summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/linux-android-x86-g++/qplatformdefs.h
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@collabora.co.uk>2012-05-01 14:39:23 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-29 21:15:46 +0200
commitddf7233125dbf7dfb218fd47f77a94446ce3c027 (patch)
tree8a8d25dff1f008a8c6bcfe5290e1dd985ba09115 /mkspecs/unsupported/linux-android-x86-g++/qplatformdefs.h
parentf58e046a611118a6349ee617a98dbb24280ef183 (diff)
Add mkspecs for android cross compilation.
Using these requires setting two environment variables, e.g, for me: export ANDROID_NDK_ROOT=/Users/burchr/android-ndk-r7c export ANDROID_NDK_HOST=darwin-x86 ./configure -opensource -confirm-license -xplatform unsupported/linux-android-armeabi-v7a-g++ -nomake examples -nomake demos -nomake tests -v These mkspecs are somewhat based on the work of the Necessitas crew, kudos to them for their work in getting the NDK integration into qmake. Change-Id: I591e423ed8dc70616009f681c81890c696110e62 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'mkspecs/unsupported/linux-android-x86-g++/qplatformdefs.h')
-rw-r--r--mkspecs/unsupported/linux-android-x86-g++/qplatformdefs.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/mkspecs/unsupported/linux-android-x86-g++/qplatformdefs.h b/mkspecs/unsupported/linux-android-x86-g++/qplatformdefs.h
new file mode 100644
index 0000000000..ff3730b246
--- /dev/null
+++ b/mkspecs/unsupported/linux-android-x86-g++/qplatformdefs.h
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Collabora Ltd, author <robin.burchell@collabora.co.uk>
+** Contact: http://www.qt-project.org/
+**
+** This file is part of the QtCore module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** GNU Lesser General Public License Usage
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../common/android/qplatformdefs.h"