summaryrefslogtreecommitdiff
path: root/packages/qt4
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-01-20 23:17:35 +0000
committerHolger Freyther <zecke@selfish.org>2008-01-20 23:17:35 +0000
commit11434035bf87301cddff91550ecc865499a0adcc (patch)
tree8a88c01999ab65a51291b010e370228d0abe45f4 /packages/qt4
parent620b4535290d9d45724d00eaca5dde4ed4fdc2e1 (diff)
packages/qt4/qtopia-core: Prepare for someone to use -qconfig
-We don't disable any features, but passing -qconfig will automatically disable q3support so we can't enable the usage of -qconfig by default -Install an OE qconfig-oe.h and QT_QCONFIG can be overriden by the default OVERRIDE system (this makes up a bit for the lacking documentation)
Diffstat (limited to 'packages/qt4')
-rw-r--r--packages/qt4/qtopia-core-4.3.3/qconfig-oe.h45
-rw-r--r--packages/qt4/qtopia-core.inc5
2 files changed, 50 insertions, 0 deletions
diff --git a/packages/qt4/qtopia-core-4.3.3/qconfig-oe.h b/packages/qt4/qtopia-core-4.3.3/qconfig-oe.h
new file mode 100644
index 0000000000..f820c01da8
--- /dev/null
+++ b/packages/qt4/qtopia-core-4.3.3/qconfig-oe.h
@@ -0,0 +1,45 @@
+/****************************************************************************
+**
+** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
+**
+** This file is part of the QtCore module of the Qt Toolkit.
+**
+** This file may be used under the terms of the GNU General Public
+** License version 2.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 GNU
+** General Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/
+**
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** In addition, as a special exception, Trolltech gives you certain
+** additional rights. These rights are described in the Trolltech GPL
+** Exception version 1.0, which can be found at
+** http://www.trolltech.com/products/qt/gplexception/ and in the file
+** GPL_EXCEPTION.txt in this package.
+**
+** In addition, as a special exception, Trolltech, as the sole copyright
+** holder for Qt Designer, grants users of the Qt/Eclipse Integration
+** plug-in the right for the Qt/Eclipse Integration to link to
+** functionality provided by Qt Designer and its related libraries.
+**
+** Trolltech reserves all rights not expressly granted herein.
+**
+** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+**
+****************************************************************************/
+
+
+/*
+ Empty leaves all features enabled. See doc/html/emb-features.html for choices.
+
+ Note that disabling some features will produce a libqt that is not
+ compatible with other libqt builds. Such modifications are only
+ supported on Qtopia Core where reducing the library size is important
+ and where the application-suite is often a fixed set.
+*/
diff --git a/packages/qt4/qtopia-core.inc b/packages/qt4/qtopia-core.inc
index 16f67ac629..46bec73cd8 100644
--- a/packages/qt4/qtopia-core.inc
+++ b/packages/qt4/qtopia-core.inc
@@ -7,6 +7,7 @@ DEPENDS += "tslib"
PR = "r1"
SRC_URI = "ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-${PV}.tar.gz \
+ file://qconfig-oe.h \
file://0001-cross-compile.patch;patch=1 \
file://0003-no-tools.patch;patch=1 \
file://0004-no-qmake.patch;patch=1 \
@@ -25,6 +26,10 @@ QT_CONFIG_FLAGS += " \
${QT_QCONFIG} \
"
+do_configure_prepend() {
+ cp ${WORKDIR}/qconfig-oe.h ${S}/src/corelib/global
+}
+
QT_QCONFIG = ""
QT_BASE_NAME = "qtopiacore"
QT_BASE_LIB = "libqtopiacore"