mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-06 06:04:35 +02:00
qtdeclarative, *qtbase*: upgrade to latest revision in 5.4 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -13,24 +13,24 @@ SRC_URI += "\
|
||||
file://0001-Add-linux-oe-g-platform.patch \
|
||||
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
|
||||
file://0003-Add-external-hostbindir-option.patch \
|
||||
file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
|
||||
file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
|
||||
file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
|
||||
file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
|
||||
file://0008-configure-bump-path-length-from-256-to-512-character.patch \
|
||||
file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
|
||||
file://0010-QOpenGLPaintDevice-sub-area-support.patch \
|
||||
file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
|
||||
file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
|
||||
file://0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
|
||||
file://0007-configure-bump-path-length-from-256-to-512-character.patch \
|
||||
file://0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
|
||||
file://0009-QOpenGLPaintDevice-sub-area-support.patch \
|
||||
file://0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch \
|
||||
"
|
||||
|
||||
# common for qtbase-native and nativesdk-qtbase
|
||||
SRC_URI += " \
|
||||
file://0011-Always-build-uic.patch \
|
||||
file://0014-Add-external-hostbindir-option-native.patch \
|
||||
file://0012-Add-external-hostbindir-option-for-native-sdk.patch \
|
||||
"
|
||||
|
||||
# specific for nativesdk-qtbase
|
||||
SRC_URI += " \
|
||||
file://0012-configure-preserve-built-qmake-and-swap-with-native-.patch \
|
||||
file://0013-configure-preserve-built-qmake-and-swap-with-native-.patch \
|
||||
"
|
||||
|
||||
# CMake's toolchain configuration of nativesdk-qtbase
|
||||
@@ -38,4 +38,9 @@ SRC_URI += " \
|
||||
file://OEQt5Toolchain.cmake \
|
||||
"
|
||||
|
||||
SRCREV = "47326b9c5c38fea39f8539f50f32667d2c391b70"
|
||||
SRCREV = "02c5657a7d6d30c6e874e29a0adcc38b58a45b7d"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=d87ae0d200af76dca730d911474cbe5b \
|
||||
file://LICENSE.LGPLv3;md5=ffcfac38a32c9ebdb8ff768fa1702478 \
|
||||
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
|
||||
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 81cd2947e9b1290498bdc2505a76fb053ff33be8 Mon Sep 17 00:00:00 2001
|
||||
From cfab0821397f5c41e123590b388c6f9c6834b1be Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Mon, 15 Apr 2013 04:29:32 +0200
|
||||
Subject: [PATCH 01/11] Add linux-oe-g++ platform
|
||||
Subject: [PATCH 01/12] Add linux-oe-g++ platform
|
||||
|
||||
* This qmake.conf unlike other platforms reads most variables from
|
||||
shell environment, because it's easier for qt recipes to export
|
||||
@@ -40,6 +40,7 @@ Subject: [PATCH 01/11] Add linux-oe-g++ platform
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
too OE specific, probably cannot be upstreamed
|
||||
|
||||
Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
configure | 66 ++++++++++++++++-------
|
||||
@@ -51,7 +52,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 229fb4e..b7a6fe3 100755
|
||||
index 043d9fc..12fe2f0 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -316,6 +316,16 @@ getQMakeConf()
|
||||
@@ -195,7 +196,7 @@ index 6b37a04..dcf6025 100644
|
||||
write_file($$QMAKE_CONFIG_LOG, msg, append)
|
||||
diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf
|
||||
new file mode 100644
|
||||
index 0000000..ca26b10
|
||||
index 0000000..2ad2810
|
||||
--- /dev/null
|
||||
+++ b/mkspecs/linux-oe-g++/qmake.conf
|
||||
@@ -0,0 +1,40 @@
|
||||
@@ -346,5 +347,5 @@ index 0000000..dd12003
|
||||
+
|
||||
+#endif // QPLATFORMDEFS_H
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From aae38b0ff226f287ad40f6eb423f1b974f548b73 Mon Sep 17 00:00:00 2001
|
||||
From 060ea3b14cdf9c9224867d114344a4034edfd30f Mon Sep 17 00:00:00 2001
|
||||
From: Holger Freyther <zecke@selfish.org>
|
||||
Date: Wed, 26 Sep 2012 17:22:30 +0200
|
||||
Subject: [PATCH 02/11] qlibraryinfo: allow to set qt.conf from the outside
|
||||
Subject: [PATCH 02/12] qlibraryinfo: allow to set qt.conf from the outside
|
||||
using the environment
|
||||
|
||||
Allow to set a qt.conf from the outside using the environment. This allows
|
||||
@@ -19,10 +19,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
|
||||
index 7ca0aa7..d68c51b 100644
|
||||
index d592032..c418c5e 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.cpp
|
||||
+++ b/src/corelib/global/qlibraryinfo.cpp
|
||||
@@ -139,7 +139,10 @@ QLibrarySettings::QLibrarySettings()
|
||||
@@ -138,7 +138,10 @@ QLibrarySettings::QLibrarySettings()
|
||||
|
||||
QSettings *QLibraryInfoPrivate::findConfiguration()
|
||||
{
|
||||
@@ -35,5 +35,5 @@ index 7ca0aa7..d68c51b 100644
|
||||
if(!QFile::exists(qtconfig))
|
||||
qtconfig = qt_libraryInfoFile();
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From f2d51e50a7fbdf485696d1b8b2d29e64c729c76b Mon Sep 17 00:00:00 2001
|
||||
From 4efa6ef7025ebd03379d76a419c118189e8e9d4e Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Sat, 6 Apr 2013 13:15:07 +0200
|
||||
Subject: [PATCH 03/11] Add -external-hostbindir option
|
||||
Subject: [PATCH 03/12] Add -external-hostbindir option
|
||||
|
||||
* when cross-compiling it's sometimes useful to use existing tools from machine
|
||||
(or in OpenEmbedded built with separate native recipe) when building for target
|
||||
@@ -27,18 +27,14 @@ Signed-off-by: Jonathan Liu <net147@gmail.com>
|
||||
configure | 15 +++++++++++++++
|
||||
mkspecs/features/qt_functions.prf | 6 +++++-
|
||||
mkspecs/features/qt_tool.prf | 4 ++--
|
||||
qmake/property.cpp | 1 +
|
||||
qtbase.pro | 13 ++++++++++---
|
||||
src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++---
|
||||
src/corelib/global/qlibraryinfo.cpp | 3 ++-
|
||||
src/corelib/global/qlibraryinfo.h | 1 +
|
||||
src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++--
|
||||
src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +-
|
||||
tools/configure/configureapp.cpp | 8 ++++++++
|
||||
11 files changed, 50 insertions(+), 13 deletions(-)
|
||||
7 files changed, 38 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index b7a6fe3..d715f6c 100755
|
||||
index 12fe2f0..7ac81d8 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -769,6 +769,7 @@ QT_HOST_BINS=
|
||||
@@ -99,10 +95,10 @@ index b7a6fe3..d715f6c 100755
|
||||
"qt_hostspec=$shortspec",
|
||||
#endif
|
||||
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
|
||||
index a9a622d..b6f1db0 100644
|
||||
index 7961f65..e11b23d 100644
|
||||
--- a/mkspecs/features/qt_functions.prf
|
||||
+++ b/mkspecs/features/qt_functions.prf
|
||||
@@ -191,7 +191,11 @@ defineTest(qtAddRpathLink) {
|
||||
@@ -192,7 +192,11 @@ defineTest(qtAddRpathLink) {
|
||||
defineTest(qtPrepareTool) {
|
||||
cmd = $$eval(QT_TOOL.$${2}.binary)
|
||||
isEmpty(cmd) {
|
||||
@@ -133,18 +129,6 @@ index 1d3e88c..9b26adf 100644
|
||||
isEmpty(MODULE):MODULE = $$TARGET
|
||||
|
||||
!host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private)
|
||||
diff --git a/qmake/property.cpp b/qmake/property.cpp
|
||||
index 051e056..50da6ed 100644
|
||||
--- a/qmake/property.cpp
|
||||
+++ b/qmake/property.cpp
|
||||
@@ -67,6 +67,7 @@ static const struct {
|
||||
{ "QT_HOST_DATA", QLibraryInfo::HostDataPath, true },
|
||||
{ "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true },
|
||||
{ "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true },
|
||||
+ { "QT_EXTERNAL_HOST_BINS", QLibraryInfo::ExternalHostBinariesPath, true },
|
||||
{ "QMAKE_SPEC", QLibraryInfo::HostSpecPath, true },
|
||||
{ "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true },
|
||||
};
|
||||
diff --git a/qtbase.pro b/qtbase.pro
|
||||
index 6d0de44..ddf7478 100644
|
||||
--- a/qtbase.pro
|
||||
@@ -179,7 +163,7 @@ index 6d0de44..ddf7478 100644
|
||||
|
||||
# If we are doing a prefix build, create a "module" pri which enables
|
||||
diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in
|
||||
index 9bda70e..6e3605a 100644
|
||||
index 4387bed..6e1aa7a 100644
|
||||
--- a/src/corelib/Qt5CoreConfigExtras.cmake.in
|
||||
+++ b/src/corelib/Qt5CoreConfigExtras.cmake.in
|
||||
@@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake)
|
||||
@@ -209,39 +193,6 @@ index 9bda70e..6e3605a 100644
|
||||
!!ENDIF
|
||||
_qt5_Core_check_file_exists(${imported_location})
|
||||
|
||||
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
|
||||
index d68c51b..7191159 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.cpp
|
||||
+++ b/src/corelib/global/qlibraryinfo.cpp
|
||||
@@ -349,7 +349,7 @@ QLibraryInfo::isDebugBuild()
|
||||
*/
|
||||
|
||||
static const struct {
|
||||
- char key[19], value[13];
|
||||
+ char key[21], value[13];
|
||||
} qtConfEntries[] = {
|
||||
{ "Prefix", "." },
|
||||
{ "Documentation", "doc" }, // should be ${Data}/doc
|
||||
@@ -375,6 +375,7 @@ static const struct {
|
||||
{ "HostBinaries", "bin" },
|
||||
{ "HostLibraries", "lib" },
|
||||
{ "HostData", "." },
|
||||
+ { "ExternalHostBinaries", "" },
|
||||
{ "TargetSpec", "" },
|
||||
{ "HostSpec", "" },
|
||||
#endif
|
||||
diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
|
||||
index 543c4b3..a02e03a 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.h
|
||||
+++ b/src/corelib/global/qlibraryinfo.h
|
||||
@@ -80,6 +80,7 @@ public:
|
||||
HostBinariesPath,
|
||||
HostLibrariesPath,
|
||||
HostDataPath,
|
||||
+ ExternalHostBinariesPath,
|
||||
TargetSpecPath,
|
||||
HostSpecPath,
|
||||
LastHostPath = HostSpecPath,
|
||||
diff --git a/src/dbus/Qt5DBusConfigExtras.cmake.in b/src/dbus/Qt5DBusConfigExtras.cmake.in
|
||||
index 1d94715..301af8f 100644
|
||||
--- a/src/dbus/Qt5DBusConfigExtras.cmake.in
|
||||
@@ -277,32 +228,6 @@ index 99d87e2..5621dc0 100644
|
||||
!!ENDIF
|
||||
_qt5_Widgets_check_file_exists(${imported_location})
|
||||
|
||||
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
|
||||
index 92422c2..d0a62c8 100644
|
||||
--- a/tools/configure/configureapp.cpp
|
||||
+++ b/tools/configure/configureapp.cpp
|
||||
@@ -1191,6 +1191,13 @@ void Configure::parseCmdLine()
|
||||
dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i);
|
||||
}
|
||||
|
||||
+ else if (configCmdLine.at(i) == "-external-hostbindir") {
|
||||
+ ++i;
|
||||
+ if (i == argCount)
|
||||
+ break;
|
||||
+ dictionary[ "QT_EXTERNAL_HOST_BINS" ] = configCmdLine.at(i);
|
||||
+ }
|
||||
+
|
||||
else if (configCmdLine.at(i) == "-make-tool") {
|
||||
++i;
|
||||
if (i == argCount)
|
||||
@@ -3995,6 +4002,7 @@ void Configure::generateQConfigCpp()
|
||||
<< " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
|
||||
<< " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl
|
||||
<< " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl
|
||||
+ << " \"qt_ebinpath=" << formatPath(dictionary["QT_EXTERNAL_HOST_BINS"]) << "\"," << endl
|
||||
<< " \"qt_targspec=" << targSpec << "\"," << endl
|
||||
<< " \"qt_hostspec=" << hostSpec << "\"," << endl
|
||||
<< "#endif" << endl
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
From 13a61389aa33fdfd5d9a1adf824d98c5ebf1cdff Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Sat, 27 Apr 2013 22:33:33 +0200
|
||||
Subject: [PATCH 04/11] configureapp: Prefix default LIBDIRS and INCDIRS with
|
||||
SYSROOT
|
||||
|
||||
Upstream-Status: Pending
|
||||
again a bit OE specific
|
||||
---
|
||||
tools/configure/configureapp.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
|
||||
index d0a62c8..b3f3ff8 100644
|
||||
--- a/tools/configure/configureapp.cpp
|
||||
+++ b/tools/configure/configureapp.cpp
|
||||
@@ -3384,8 +3384,8 @@ void Configure::generateQConfigPri()
|
||||
configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl;
|
||||
if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) {
|
||||
// FIXME: add detection
|
||||
- configStream << " QMAKE_DEFAULT_LIBDIRS = /lib /usr/lib" << endl;
|
||||
- configStream << " QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include" << endl;
|
||||
+ configStream << " QMAKE_DEFAULT_LIBDIRS = $$[QT_SYSROOT]/lib $$[QT_SYSROOT]/usr/lib" << endl;
|
||||
+ configStream << " QMAKE_DEFAULT_INCDIRS = $$[QT_SYSROOT]/usr/include $$[QT_SYSROOT]/usr/local/include" << endl;
|
||||
}
|
||||
configStream << "}" << endl;
|
||||
configStream << "QT_CONFIG += " << qtConfig.join(' ') << endl;
|
||||
--
|
||||
2.1.3
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 5778f98f990781710e72be8275dae32a7999330d Mon Sep 17 00:00:00 2001
|
||||
From efd941d9d21a7f9a41dcabf7ea88481c3563ae93 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Sat, 27 Apr 2013 23:15:37 +0200
|
||||
Subject: [PATCH 05/11] qt_module: Fix pkgconfig and libtool replacements
|
||||
Subject: [PATCH 04/12] qt_module: Fix pkgconfig and libtool replacements
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
@@ -67,7 +67,7 @@ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
2 files changed, 16 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
|
||||
index af9d6ca..a4781d6 100644
|
||||
index eb65e73..4db40d0 100644
|
||||
--- a/mkspecs/features/qt_common.prf
|
||||
+++ b/mkspecs/features/qt_common.prf
|
||||
@@ -33,7 +33,7 @@ contains(TEMPLATE, .*lib) {
|
||||
@@ -110,5 +110,5 @@ index d213f9e..915c596 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 4a067c162d08596e3ec89dcfb3ecdf197b1bf22a Mon Sep 17 00:00:00 2001
|
||||
From 4d32129ba11c6b7d4cfd4d037e3e3b73fd32b6b5 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Mon, 21 Apr 2014 19:22:04 +0200
|
||||
Subject: [PATCH 06/11] Revert "eglfs: Print the chosen config in debug mode"
|
||||
Subject: [PATCH 05/12] Revert "eglfs: Print the chosen config in debug mode"
|
||||
|
||||
With this change the build is failing with:
|
||||
| In file included from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/eglplatform.h:118:0,
|
||||
@@ -68,7 +68,7 @@ index c1a491c..7a0fc87 100644
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
|
||||
index 7cc3300..ccbd974 100644
|
||||
index 7cc3300..ccbd974a 100644
|
||||
--- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
|
||||
+++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
|
||||
@@ -37,7 +37,6 @@
|
||||
@@ -93,5 +93,5 @@ index 7cc3300..ccbd974 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 8e152449beb18454347cfdb300c50d113fa48383 Mon Sep 17 00:00:00 2001
|
||||
From 29c6088243796faf0b4115a93239d4ada9182757 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Wed, 19 Mar 2014 18:32:28 +0100
|
||||
Subject: [PATCH 07/11] qeglplatformintegration: Undefine CursorShape from X.h
|
||||
Subject: [PATCH 06/12] qeglplatformintegration: Undefine CursorShape from X.h
|
||||
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
@@ -9,11 +9,11 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h
|
||||
index 4d7adce..c9b6873 100644
|
||||
index 2b5d5f5..a0aab03 100644
|
||||
--- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h
|
||||
+++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h
|
||||
@@ -50,6 +50,12 @@
|
||||
#include <QtCore/QVariant>
|
||||
#include <qpa/qplatformnativeinterface.h>
|
||||
#include <EGL/egl.h>
|
||||
|
||||
+// Undefine CursorShape from X.h, which is causing breakage in Qt::CursorShape in platformsupport/eglconvenience/
|
||||
@@ -26,5 +26,5 @@ index 4d7adce..c9b6873 100644
|
||||
|
||||
class QEGLPlatformScreen;
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 3a31a14c9c244a22337f22d083a680f69a1b1ce8 Mon Sep 17 00:00:00 2001
|
||||
From 9eadba2398bfba10209f25b1c2e0ceb04e04957c Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denys@ti.com>
|
||||
Date: Mon, 11 Nov 2013 20:27:30 -0500
|
||||
Subject: [PATCH 08/11] configure: bump path length from 256 to 512 characters
|
||||
Subject: [PATCH 07/12] configure: bump path length from 256 to 512 characters
|
||||
|
||||
Increase the path length that gets hardcoded into generated config.cpp file
|
||||
from 256 to 512 characters, as nativesdk path can be quite long.
|
||||
@@ -12,7 +12,7 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index d715f6c..bd43281 100755
|
||||
index 7ac81d8..8b42b8e 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3622,7 +3622,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
|
||||
@@ -25,5 +25,5 @@ index d715f6c..bd43281 100755
|
||||
"qt_prfxpath=$QT_SYSROOT_PREFIX",
|
||||
"qt_docspath=$QT_SYSROOT_DOCS",
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 621d867223a135a9babd452d4918200bc6d0463b Mon Sep 17 00:00:00 2001
|
||||
From b6776c9f0da5988013d5195592b84e313b79daab Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Wed, 5 Feb 2014 18:35:08 +0100
|
||||
Subject: [PATCH 09/11] eglfs: fix egl error for platforms only supporting one
|
||||
Subject: [PATCH 08/12] eglfs: fix egl error for platforms only supporting one
|
||||
window/surface
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
@@ -27,10 +27,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
1 file changed, 15 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp
|
||||
index f5839e0..5ebde6d 100644
|
||||
index 39a3ef9..2c05979 100644
|
||||
--- a/src/plugins/platforms/eglfs/qeglfswindow.cpp
|
||||
+++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp
|
||||
@@ -66,6 +66,15 @@ void QEglFSWindow::create()
|
||||
@@ -68,6 +68,15 @@ void QEglFSWindow::create()
|
||||
|
||||
m_flags = Created;
|
||||
|
||||
@@ -46,7 +46,7 @@ index f5839e0..5ebde6d 100644
|
||||
if (window()->type() == Qt::Desktop)
|
||||
return;
|
||||
|
||||
@@ -79,7 +88,7 @@ void QEglFSWindow::create()
|
||||
@@ -81,7 +90,7 @@ void QEglFSWindow::create()
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ index f5839e0..5ebde6d 100644
|
||||
// We can have either a single OpenGL window or multiple raster windows.
|
||||
// Other combinations cannot work.
|
||||
qFatal("EGLFS: OpenGL windows cannot be mixed with others.");
|
||||
@@ -99,6 +108,11 @@ void QEglFSWindow::create()
|
||||
@@ -101,6 +110,11 @@ void QEglFSWindow::create()
|
||||
|
||||
resetSurface();
|
||||
|
||||
@@ -68,5 +68,5 @@ index f5839e0..5ebde6d 100644
|
||||
|
||||
if (isRaster()) {
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 46074ffb4525e8217acd78c9cbe29f3d62f85c78 Mon Sep 17 00:00:00 2001
|
||||
From 010322a4ca16bcf1ea357689be4a94145733325d Mon Sep 17 00:00:00 2001
|
||||
From: Jani Hautakangas <jani.hautakangas@ixonos.com>
|
||||
Date: Thu, 16 May 2013 09:52:07 +0300
|
||||
Subject: [PATCH 10/11] QOpenGLPaintDevice sub-area support
|
||||
Subject: [PATCH 09/12] QOpenGLPaintDevice sub-area support
|
||||
|
||||
Allows creating QOpenGLPaintDevice targetting sub-area
|
||||
of binded framebuffer.
|
||||
@@ -81,10 +81,10 @@ index 0b01129..211f2f3 100644
|
||||
|
||||
qreal dpmx;
|
||||
diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp
|
||||
index c490726..1d775fd 100644
|
||||
index 8eeaa31..e17520e 100644
|
||||
--- a/src/gui/opengl/qopenglpaintengine.cpp
|
||||
+++ b/src/gui/opengl/qopenglpaintengine.cpp
|
||||
@@ -2002,7 +2002,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev)
|
||||
@@ -2080,7 +2080,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev)
|
||||
for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i)
|
||||
d->vertexAttributeArraysEnabledState[i] = false;
|
||||
|
||||
@@ -95,16 +95,16 @@ index c490726..1d775fd 100644
|
||||
d->width = sz.width();
|
||||
d->height = sz.height();
|
||||
d->mode = BrushDrawingMode;
|
||||
@@ -2089,7 +2092,7 @@ void QOpenGL2PaintEngineEx::ensureActive()
|
||||
@@ -2167,7 +2170,7 @@ void QOpenGL2PaintEngineEx::ensureActive()
|
||||
d->device->ensureActiveTarget();
|
||||
|
||||
d->transferMode(BrushDrawingMode);
|
||||
- d->funcs.glViewport(0, 0, d->width, d->height);
|
||||
+ d->funcs.glViewport(d->x, d->y, d->width, d->height);
|
||||
d->needsSync = false;
|
||||
d->lastMaskTextureUsed = 0;
|
||||
d->shaderManager->setDirty();
|
||||
@@ -2132,6 +2135,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
|
||||
d->syncGlState();
|
||||
@@ -2209,6 +2212,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
|
||||
if (bounds == QRect(0, 0, width, height)) {
|
||||
funcs.glDisable(GL_SCISSOR_TEST);
|
||||
} else {
|
||||
@@ -112,7 +112,7 @@ index c490726..1d775fd 100644
|
||||
funcs.glEnable(GL_SCISSOR_TEST);
|
||||
setScissor(bounds);
|
||||
}
|
||||
@@ -2140,12 +2144,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
|
||||
@@ -2217,12 +2221,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
|
||||
|
||||
void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect)
|
||||
{
|
||||
@@ -128,10 +128,10 @@ index c490726..1d775fd 100644
|
||||
|
||||
funcs.glScissor(left, bottom, width, height);
|
||||
diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h
|
||||
index 5ef0366..c5b517d 100644
|
||||
index 9722ea3..07e3163 100644
|
||||
--- a/src/gui/opengl/qopenglpaintengine_p.h
|
||||
+++ b/src/gui/opengl/qopenglpaintengine_p.h
|
||||
@@ -256,6 +256,7 @@ public:
|
||||
@@ -264,6 +264,7 @@ public:
|
||||
QOpenGL2PaintEngineEx* q;
|
||||
QOpenGLEngineShaderManager* shaderManager;
|
||||
QOpenGLPaintDevice* device;
|
||||
@@ -153,5 +153,5 @@ index cd268cd..997bc35 100644
|
||||
} else {
|
||||
if (m_vao.isCreated()) {
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From f5df17e2a02cf67f3436b7fe640c6bf54ba93ad6 Mon Sep 17 00:00:00 2001
|
||||
From e163574a35ad782a3d43ee8d5e3f212870962e10 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Thu, 18 Dec 2014 13:41:09 +0100
|
||||
Subject: [PATCH] Make Qt5GuiConfigExtras.cmake find gl(es) include dir
|
||||
Subject: [PATCH 10/12] Make Qt5GuiConfigExtras.cmake find gl(es) include dir
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
@@ -38,5 +38,5 @@ index 9a846d4..07869ef 100644
|
||||
if (NOT _qt5gui_OPENGL_INCLUDE_DIR)
|
||||
message(FATAL_ERROR \"Failed to find \\\"$$CMAKE_GL_HEADER_NAME\\\" in \\\"${_GL_INCDIRS}\\\".\")
|
||||
--
|
||||
1.8.3.1
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From d48323aae1bee4b2398d61e1777815ffac15ccce Mon Sep 17 00:00:00 2001
|
||||
From 17929906fd0c057b35ad48b3a22770f8c52c1108 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Sat, 16 Nov 2013 00:32:30 +0100
|
||||
Subject: [PATCH 11/12] Always build uic
|
||||
Subject: [PATCH 11/13] Always build uic
|
||||
|
||||
Even if we are not building gui or widgets. This tool is needed later
|
||||
as a native tool when compiling the target.
|
||||
@@ -27,5 +27,5 @@ index 81f4fa5..74ec23d 100644
|
||||
nacl: SUBDIRS -= src_network src_testlib
|
||||
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From ee542556da221be99fa3344630b78529555be2bc Mon Sep 17 00:00:00 2001
|
||||
From e199e105df6ded6ea9404b4f7f6f7f8381a51e85 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Krelin <hacker@klever.net>
|
||||
Date: Mon, 29 Oct 2012 20:07:49 -0700
|
||||
Subject: [PATCH 11/11] qmake: don't build it in configure, but allow to build
|
||||
Subject: [PATCH 11/12] qmake: don't build it in configure, but allow to build
|
||||
it separately
|
||||
|
||||
* it is already built in qtbase-native, so we don't need it in configure
|
||||
@@ -14,13 +14,18 @@ Signed-off-by: Yu Ke <ke.yu@intel.com>
|
||||
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
||||
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
configure | 2 +-
|
||||
qmake/qmake.pri | 3 ++-
|
||||
qmake/qmake.pro | 2 ++
|
||||
3 files changed, 5 insertions(+), 2 deletions(-)
|
||||
---
|
||||
configure | 2 +-
|
||||
qmake/qmake.pro | 2 ++
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
qmake/qmake.pri | 3 ++-
|
||||
qmake/qmake.pro | 1 +
|
||||
3 files changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index bd43281..5d1b3aa 100755
|
||||
index 8b42b8e..aa21ff6 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3724,7 +3724,7 @@ setBootstrapEvalVariable()
|
||||
@@ -32,19 +37,32 @@ index bd43281..5d1b3aa 100755
|
||||
echo "Creating qmake..."
|
||||
|
||||
mkdir -p "$outpath/qmake" || exit
|
||||
diff --git a/qmake/qmake.pri b/qmake/qmake.pri
|
||||
index 4de41d6..69982b7 100644
|
||||
--- a/qmake/qmake.pri
|
||||
+++ b/qmake/qmake.pri
|
||||
@@ -82,7 +82,8 @@ bootstrap { #Qt code
|
||||
qjsonparser.cpp \
|
||||
qjsonarray.cpp \
|
||||
qjsonobject.cpp \
|
||||
- qjsonvalue.cpp
|
||||
+ qjsonvalue.cpp \
|
||||
+ qdebug.cpp
|
||||
|
||||
HEADERS+= \
|
||||
qbitarray.h \
|
||||
diff --git a/qmake/qmake.pro b/qmake/qmake.pro
|
||||
index 89d6ea5..7c605b9 100644
|
||||
index 89d6ea5..0ff4a96 100644
|
||||
--- a/qmake/qmake.pro
|
||||
+++ b/qmake/qmake.pro
|
||||
@@ -8,6 +8,8 @@ CONFIG -= qt
|
||||
@@ -8,6 +8,7 @@ CONFIG -= qt
|
||||
DEFINES += \
|
||||
QT_BUILD_QMAKE \
|
||||
PROEVALUATOR_FULL
|
||||
+DESTDIR = ../bin/
|
||||
+TARGET = qmake
|
||||
|
||||
VPATH += \
|
||||
../src/corelib/global \
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
From dee6fc781f5ac77155817b82f9d66787690a3bb3 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Sat, 6 Apr 2013 13:15:07 +0200
|
||||
Subject: [PATCH 12/13] Add -external-hostbindir option for native(sdk)
|
||||
|
||||
* when cross-compiling it's sometimes useful to use existing tools from machine
|
||||
(or in OpenEmbedded built with separate native recipe) when building for target
|
||||
|
||||
* this way we can skip bootstraping tools we already have
|
||||
|
||||
* qt_functions: temporary remove isEmpty check
|
||||
* now we assume that every build will provide QT_EXTERNAL_HOST_BINS value
|
||||
* isEmpty works correctly only with qmake variables (e.g. $$FOO -
|
||||
isEmpty(FOO)), but doesn't work with system properties like $$[FOO].
|
||||
|
||||
* cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to determine path to host binaries
|
||||
|
||||
Upstream-Status: Pending
|
||||
is a lot better for upstreaming (and it was already sort of approved by
|
||||
Oswald) but in 5.2.0 I've noticed that he added something similar for
|
||||
android builds
|
||||
|
||||
Change-Id: I4f6e634bf0b2cb96065ee5c38b9cd8a224c3bd37
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Signed-off-by: Simon Busch <morphis@gravedo.de>
|
||||
Signed-off-by: Jonathan Liu <net147@gmail.com>
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
qmake/property.cpp | 1 +
|
||||
src/corelib/global/qlibraryinfo.cpp | 3 ++-
|
||||
src/corelib/global/qlibraryinfo.h | 1 +
|
||||
tools/configure/configureapp.cpp | 8 ++++++++
|
||||
4 files changed, 12 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/qmake/property.cpp b/qmake/property.cpp
|
||||
index 051e056..50da6ed 100644
|
||||
--- a/qmake/property.cpp
|
||||
+++ b/qmake/property.cpp
|
||||
@@ -67,6 +67,7 @@ static const struct {
|
||||
{ "QT_HOST_DATA", QLibraryInfo::HostDataPath, true },
|
||||
{ "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true },
|
||||
{ "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true },
|
||||
+ { "QT_EXTERNAL_HOST_BINS", QLibraryInfo::ExternalHostBinariesPath, true },
|
||||
{ "QMAKE_SPEC", QLibraryInfo::HostSpecPath, true },
|
||||
{ "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true },
|
||||
};
|
||||
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
|
||||
index c418c5e..c8c4188 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.cpp
|
||||
+++ b/src/corelib/global/qlibraryinfo.cpp
|
||||
@@ -348,7 +348,7 @@ QLibraryInfo::isDebugBuild()
|
||||
*/
|
||||
|
||||
static const struct {
|
||||
- char key[19], value[13];
|
||||
+ char key[21], value[13];
|
||||
} qtConfEntries[] = {
|
||||
{ "Prefix", "." },
|
||||
{ "Documentation", "doc" }, // should be ${Data}/doc
|
||||
@@ -374,6 +374,7 @@ static const struct {
|
||||
{ "HostBinaries", "bin" },
|
||||
{ "HostLibraries", "lib" },
|
||||
{ "HostData", "." },
|
||||
+ { "ExternalHostBinaries", "" },
|
||||
{ "TargetSpec", "" },
|
||||
{ "HostSpec", "" },
|
||||
#endif
|
||||
diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
|
||||
index 543c4b3..a02e03a 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.h
|
||||
+++ b/src/corelib/global/qlibraryinfo.h
|
||||
@@ -80,6 +80,7 @@ public:
|
||||
HostBinariesPath,
|
||||
HostLibrariesPath,
|
||||
HostDataPath,
|
||||
+ ExternalHostBinariesPath,
|
||||
TargetSpecPath,
|
||||
HostSpecPath,
|
||||
LastHostPath = HostSpecPath,
|
||||
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
|
||||
index 6e9d4aa..0ca4daf 100644
|
||||
--- a/tools/configure/configureapp.cpp
|
||||
+++ b/tools/configure/configureapp.cpp
|
||||
@@ -1191,6 +1191,13 @@ void Configure::parseCmdLine()
|
||||
dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i);
|
||||
}
|
||||
|
||||
+ else if (configCmdLine.at(i) == "-external-hostbindir") {
|
||||
+ ++i;
|
||||
+ if (i == argCount)
|
||||
+ break;
|
||||
+ dictionary[ "QT_EXTERNAL_HOST_BINS" ] = configCmdLine.at(i);
|
||||
+ }
|
||||
+
|
||||
else if (configCmdLine.at(i) == "-make-tool") {
|
||||
++i;
|
||||
if (i == argCount)
|
||||
@@ -4004,6 +4011,7 @@ void Configure::generateQConfigCpp()
|
||||
<< " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
|
||||
<< " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl
|
||||
<< " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl
|
||||
+ << " \"qt_ebinpath=" << formatPath(dictionary["QT_EXTERNAL_HOST_BINS"]) << "\"," << endl
|
||||
<< " \"qt_targspec=" << targSpec << "\"," << endl
|
||||
<< " \"qt_hostspec=" << hostSpec << "\"," << endl
|
||||
<< "#endif" << endl
|
||||
--
|
||||
2.3.0
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
From f14e186762bb31f2d9c1e54fd62a0fa4d6cb3550 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Thu, 22 Jan 2015 16:09:35 +0100
|
||||
Subject: [PATCH 12/12] Set paths for target properly
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
configure | 43 +++++++++++++++++++++----------------------
|
||||
1 file changed, 21 insertions(+), 22 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index aa21ff6..bc965f6 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3639,28 +3639,27 @@ static const char qt_configure_prefix_path_strs[][512 + 12] = {
|
||||
"qt_xmplpath=$QT_SYSROOT_EXAMPLES",
|
||||
"qt_tstspath=$QT_SYSROOT_TESTS",
|
||||
#else
|
||||
- "qt_prfxpath=$QT_INSTALL_PREFIX",
|
||||
- "qt_docspath=$QT_INSTALL_DOCS",
|
||||
- "qt_hdrspath=$QT_INSTALL_HEADERS",
|
||||
- "qt_libspath=$QT_INSTALL_LIBS",
|
||||
- "qt_lbexpath=$QT_INSTALL_LIBEXECS",
|
||||
- "qt_binspath=$QT_INSTALL_BINS",
|
||||
- "qt_plugpath=$QT_INSTALL_PLUGINS",
|
||||
- "qt_impspath=$QT_INSTALL_IMPORTS",
|
||||
- "qt_qml2path=$QT_INSTALL_QML",
|
||||
- "qt_adatpath=$QT_INSTALL_ARCHDATA",
|
||||
- "qt_datapath=$QT_INSTALL_DATA",
|
||||
- "qt_trnspath=$QT_INSTALL_TRANSLATIONS",
|
||||
- "qt_xmplpath=$QT_INSTALL_EXAMPLES",
|
||||
- "qt_tstspath=$QT_INSTALL_TESTS",
|
||||
- "qt_ssrtpath=$CFG_SYSROOT",
|
||||
- "qt_hpfxpath=$QT_HOST_PREFIX",
|
||||
- "qt_hbinpath=$QT_HOST_BINS",
|
||||
- "qt_hlibpath=$QT_HOST_LIBS",
|
||||
- "qt_hdatpath=$QT_HOST_DATA",
|
||||
- "qt_ebinpath=$QT_EXTERNAL_HOST_BINS",
|
||||
- "qt_targspec=$shortxspec",
|
||||
- "qt_hostspec=$shortspec",
|
||||
+ "qt_prfxpath=$QT_SYSROOT_PREFIX",
|
||||
+ "qt_docspath=$QT_SYSROOT_DOCS",
|
||||
+ "qt_hdrspath=$QT_SYSROOT_HEADERS",
|
||||
+ "qt_libspath=$QT_SYSROOT_LIBS",
|
||||
+ "qt_lbexpath=$QT_SYSROOT_LIBEXECS",
|
||||
+ "qt_binspath=$QT_SYSROOT_BINS",
|
||||
+ "qt_plugpath=$QT_SYSROOT_PLUGINS",
|
||||
+ "qt_impspath=$QT_SYSROOT_IMPORTS",
|
||||
+ "qt_qml2path=$QT_SYSROOT_QML",
|
||||
+ "qt_adatpath=$QT_SYSROOT_ARCHDATA",
|
||||
+ "qt_datapath=$QT_SYSROOT_DATA",
|
||||
+ "qt_trnspath=$QT_SYSROOT_TRANSLATIONS",
|
||||
+ "qt_xmplpath=$QT_SYSROOT_EXAMPLES",
|
||||
+ "qt_tstspath=$QT_SYSROOT_TESTS",
|
||||
+ "qt_ssrtpath=",
|
||||
+ "qt_hpfxpath=$QT_SYSROOT_PREFIX",
|
||||
+ "qt_hbinpath=$QT_SYSROOT_BINS",
|
||||
+ "qt_hlibpath=$QT_SYSROOT_LIBS",
|
||||
+ "qt_hdatpath=$QT_SYSROOT_LIBS/qt5",
|
||||
+ "qt_targspec=linux-g++",
|
||||
+ "qt_hostspec=linux-g++",
|
||||
#endif
|
||||
};
|
||||
static const char qt_configure_settings_path_str[256 + 12] = "qt_stngpath=$QT_INSTALL_SETTINGS";
|
||||
--
|
||||
2.3.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 9089bf90632ffc983625816c5b0f2f2509ffc176 Mon Sep 17 00:00:00 2001
|
||||
From 2795008ce11d680385610b80a84b4ee03db78cf0 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denys@ti.com>
|
||||
Date: Mon, 11 Nov 2013 20:22:34 -0500
|
||||
Subject: [PATCH 12/12] configure: preserve built qmake and swap with native
|
||||
Subject: [PATCH 13/13] configure: preserve built qmake and swap with native
|
||||
one
|
||||
|
||||
Let configure script build the real qmake, but right after it's built, swap
|
||||
@@ -13,7 +13,7 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index bd43281..d331711 100755
|
||||
index 8b42b8e..486bb2d 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3874,6 +3874,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
||||
@@ -26,5 +26,5 @@ index bd43281..d331711 100755
|
||||
echo "Running configuration tests..."
|
||||
|
||||
--
|
||||
2.1.3
|
||||
2.3.0
|
||||
|
||||
@@ -10,18 +10,19 @@ SRC_URI += "\
|
||||
file://0001-Add-linux-oe-g-platform.patch \
|
||||
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
|
||||
file://0003-Add-external-hostbindir-option.patch \
|
||||
file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
|
||||
file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
|
||||
file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
|
||||
file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
|
||||
file://0008-configure-bump-path-length-from-256-to-512-character.patch \
|
||||
file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
|
||||
file://0010-QOpenGLPaintDevice-sub-area-support.patch \
|
||||
file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
|
||||
file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
|
||||
file://0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
|
||||
file://0007-configure-bump-path-length-from-256-to-512-character.patch \
|
||||
file://0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
|
||||
file://0009-QOpenGLPaintDevice-sub-area-support.patch \
|
||||
file://0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch \
|
||||
"
|
||||
|
||||
# common for qtbase-native and nativesdk-qtbase
|
||||
SRC_URI += " \
|
||||
file://0011-Always-build-uic.patch \
|
||||
file://0012-Add-external-hostbindir-option-for-native-sdk.patch \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
@@ -30,4 +31,9 @@ do_install_append() {
|
||||
ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt
|
||||
}
|
||||
|
||||
SRCREV = "47326b9c5c38fea39f8539f50f32667d2c391b70"
|
||||
SRCREV = "02c5657a7d6d30c6e874e29a0adcc38b58a45b7d"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=d87ae0d200af76dca730d911474cbe5b \
|
||||
file://LICENSE.LGPLv3;md5=ffcfac38a32c9ebdb8ff768fa1702478 \
|
||||
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
|
||||
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
|
||||
|
||||
@@ -10,17 +10,24 @@ SRC_URI += "\
|
||||
file://0001-Add-linux-oe-g-platform.patch \
|
||||
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
|
||||
file://0003-Add-external-hostbindir-option.patch \
|
||||
file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
|
||||
file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
|
||||
file://0008-configure-bump-path-length-from-256-to-512-character.patch \
|
||||
file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
|
||||
file://0010-QOpenGLPaintDevice-sub-area-support.patch \
|
||||
file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
|
||||
file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
|
||||
file://0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
|
||||
file://0007-configure-bump-path-length-from-256-to-512-character.patch \
|
||||
file://0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
|
||||
file://0009-QOpenGLPaintDevice-sub-area-support.patch \
|
||||
file://0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch \
|
||||
"
|
||||
|
||||
# specific for qtbase
|
||||
SRC_URI += "\
|
||||
file://0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \
|
||||
file://0015-Set-paths-for-target-properly.patch \
|
||||
file://0012-Set-paths-for-target-properly.patch \
|
||||
"
|
||||
|
||||
SRCREV = "47326b9c5c38fea39f8539f50f32667d2c391b70"
|
||||
SRCREV = "02c5657a7d6d30c6e874e29a0adcc38b58a45b7d"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=d87ae0d200af76dca730d911474cbe5b \
|
||||
file://LICENSE.LGPLv3;md5=ffcfac38a32c9ebdb8ff768fa1702478 \
|
||||
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
|
||||
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require qt5-git.inc
|
||||
require ${PN}.inc
|
||||
|
||||
SRCREV = "dbe67b8512bfd78ba3c68fcfff27418bbf54141c"
|
||||
SRCREV = "c4fcbe9e342f5fa7b86b7facc662575a3f21689b"
|
||||
|
||||
Reference in New Issue
Block a user