From 969f1f80bf255498abbec6886d443670c20a79c8 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 9 Jun 2017 09:34:09 +0300 Subject: Upgrade to Qt 5.9.0 * adapt QtWebEngine recipe to use GN instead of GYP * add QtRemoteObjects and QtWebView as a new Qt modules * update available QtBase configure arguments * remove obsolete patches * patch all .pc files to remove build paths * include generated QML cache files in packages * the patch "configure paths for target qmake properly" could not be applied anymore and support must be done differently * QtWebEngine now requires gcc-multilib to be installed on the host system, because the host tools are built to the same bitness as the target (arm -> x86, aarch64 -> x86-64) * refresh the patches to match with b5.9* branches on: https://github.com/meta-qt5/qtbase https://github.com/meta-qt5/qtwebengine and 56-based branch on https://github.com/meta-qt5/qtwebengine-chromium Signed-off-by: Samuli Piippo Signed-off-by: Martin Jansa --- .../qtdeclarative/0002-Fix-memory-leak-in-V4.patch | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 recipes-qt/qt5/qtdeclarative/0002-Fix-memory-leak-in-V4.patch (limited to 'recipes-qt/qt5/qtdeclarative/0002-Fix-memory-leak-in-V4.patch') diff --git a/recipes-qt/qt5/qtdeclarative/0002-Fix-memory-leak-in-V4.patch b/recipes-qt/qt5/qtdeclarative/0002-Fix-memory-leak-in-V4.patch deleted file mode 100644 index 423681ee..00000000 --- a/recipes-qt/qt5/qtdeclarative/0002-Fix-memory-leak-in-V4.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 80e63c5a2981473dd7ee3a4f382e54948bb99f75 Mon Sep 17 00:00:00 2001 -From: Gunnar Sletta -Date: Thu, 19 Jan 2017 09:05:46 +0100 -Subject: [PATCH 2/3] Fix memory leak in V4 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Transitions contain both an id and a set of flags, but the sorting -failed to take the flags into account in the operator<. As a result -we would some times end up with duplicate entries if the same id -was added multiple times with different flags. - -If the same id was added again and again with varying flags, this -could lead to an ever expanding list filled with duplicate entries. - -Fix this by also taking flags into account in operator< so that -operator< and operator== are symetric and the list gets correctly -sorted. - -Change-Id: I762ec3f0c5b4ed9a1aecb9a883187a0445491591 -Reviewed-by: Simon Hausmann -Reviewed-by: Robin Burchell -Signed-off-by: Gordan Markuš ---- - src/qml/jsruntime/qv4internalclass_p.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/qml/jsruntime/qv4internalclass_p.h b/src/qml/jsruntime/qv4internalclass_p.h -index dcda949..1d8ef4b 100644 ---- a/src/qml/jsruntime/qv4internalclass_p.h -+++ b/src/qml/jsruntime/qv4internalclass_p.h -@@ -234,7 +234,7 @@ struct InternalClassTransition - { return id == other.id && flags == other.flags; } - - bool operator<(const InternalClassTransition &other) const -- { return id < other.id; } -+ { return id < other.id || (id == other.id && flags < other.flags); } - }; - - struct InternalClass : public QQmlJS::Managed { --- -2.9.3 - -- cgit v1.2.3