summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase-git
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-10-18 12:44:07 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-10-30 14:15:29 +0100
commit69b7d8f725b0c431d61a224dbf13a7575531404f (patch)
tree645ba6820f43750ca643ec997091a88fd92d210e /recipes-qt/qt5/qtbase-git
parent9a4c0b393bf031acace5c2cc00d625a24c639d1c (diff)
downloadmeta-qt5-69b7d8f725b0c431d61a224dbf13a7575531404f.tar.gz
qt5: upgrade git recipes to 5.4-beta1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase-git')
-rw-r--r--recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch12
-rw-r--r--recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch2
-rw-r--r--recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch22
-rw-r--r--recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch6
-rw-r--r--recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch6
-rw-r--r--recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch37
-rw-r--r--recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch2
-rw-r--r--recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch6
-rw-r--r--recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch2
-rw-r--r--recipes-qt/qt5/qtbase-git/0010-QOpenGLPaintDevice-sub-area-support.patch54
-rw-r--r--recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch2
-rw-r--r--recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch6
-rw-r--r--recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch6
13 files changed, 75 insertions, 88 deletions
diff --git a/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch
index 60a23391..8f95ccb3 100644
--- a/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch
@@ -1,4 +1,4 @@
1From 7a573e702d37f3e83b92f6b07345aaab05261e7b Mon Sep 17 00:00:00 2001 1From 71a2437e2ee5a1214ab88c8a3d1d0ddcc012698d Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 15 Apr 2013 04:29:32 +0200 3Date: Mon, 15 Apr 2013 04:29:32 +0200
4Subject: [PATCH 01/11] Add linux-oe-g++ platform 4Subject: [PATCH 01/11] Add linux-oe-g++ platform
@@ -51,7 +51,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
51 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h 51 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
52 52
53diff --git a/configure b/configure 53diff --git a/configure b/configure
54index 1efb645..b1dfca9 100755 54index 7d6ba9f..1de01a9 100755
55--- a/configure 55--- a/configure
56+++ b/configure 56+++ b/configure
57@@ -316,6 +316,16 @@ getQMakeConf() 57@@ -316,6 +316,16 @@ getQMakeConf()
@@ -118,7 +118,7 @@ index 1efb645..b1dfca9 100755
118 # Use CC/CXX to run config.tests 118 # Use CC/CXX to run config.tests
119 mkdir -p "$outpath/config.tests" 119 mkdir -p "$outpath/config.tests"
120 rm -f "$outpath/config.tests/.qmake.cache" 120 rm -f "$outpath/config.tests/.qmake.cache"
121@@ -3141,7 +3159,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then 121@@ -3167,7 +3185,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then
122 [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no 122 [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no
123 fi 123 fi
124 124
@@ -127,7 +127,7 @@ index 1efb645..b1dfca9 100755
127 127
128 TEST_COMPILER=$QMAKE_CONF_COMPILER 128 TEST_COMPILER=$QMAKE_CONF_COMPILER
129 129
130@@ -3176,7 +3194,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then 130@@ -3205,7 +3223,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then
131 exit 1 131 exit 1
132 fi 132 fi
133 fi 133 fi
@@ -136,7 +136,7 @@ index 1efb645..b1dfca9 100755
136 136
137 GCC_MACHINE_DUMP= 137 GCC_MACHINE_DUMP=
138 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac 138 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac
139@@ -3647,6 +3665,14 @@ setBootstrapVariable() 139@@ -3676,6 +3694,14 @@ setBootstrapVariable()
140 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile" 140 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
141 } 141 }
142 142
@@ -151,7 +151,7 @@ index 1efb645..b1dfca9 100755
151 # build qmake 151 # build qmake
152 if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 152 if true; then ###[ '!' -f "$outpath/bin/qmake" ];
153 echo "Creating qmake..." 153 echo "Creating qmake..."
154@@ -3685,14 +3711,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 154@@ -3714,14 +3740,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
155 fi 155 fi
156 156
157 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM= 157 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
diff --git a/recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
index 06331aa7..e4ef88c4 100644
--- a/recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
+++ b/recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
@@ -1,4 +1,4 @@
1From e521cd2d84acad69fb3d57a5e97073898d03fbf0 Mon Sep 17 00:00:00 2001 1From 1e7e18bca925638cb381edbba3f10ce79799d460 Mon Sep 17 00:00:00 2001
2From: Holger Freyther <zecke@selfish.org> 2From: Holger Freyther <zecke@selfish.org>
3Date: Wed, 26 Sep 2012 17:22:30 +0200 3Date: Wed, 26 Sep 2012 17:22:30 +0200
4Subject: [PATCH 02/11] qlibraryinfo: allow to set qt.conf from the outside 4Subject: [PATCH 02/11] qlibraryinfo: allow to set qt.conf from the outside
diff --git a/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
index 88bb4841..87359429 100644
--- a/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
@@ -1,4 +1,4 @@
1From 735d4f58381452854ed7b0c2f762030d747098e1 Mon Sep 17 00:00:00 2001 1From 8f5a3f5b5d8f50661a2c69d5741a9df237600094 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 6 Apr 2013 13:15:07 +0200 3Date: Sat, 6 Apr 2013 13:15:07 +0200
4Subject: [PATCH 03/11] Add -external-hostbindir option 4Subject: [PATCH 03/11] Add -external-hostbindir option
@@ -38,10 +38,10 @@ Signed-off-by: Jonathan Liu <net147@gmail.com>
38 11 files changed, 51 insertions(+), 13 deletions(-) 38 11 files changed, 51 insertions(+), 13 deletions(-)
39 39
40diff --git a/configure b/configure 40diff --git a/configure b/configure
41index b1dfca9..dcd1790 100755 41index 1de01a9..7d7a98a 100755
42--- a/configure 42--- a/configure
43+++ b/configure 43+++ b/configure
44@@ -768,6 +768,7 @@ QT_HOST_BINS= 44@@ -769,6 +769,7 @@ QT_HOST_BINS=
45 QT_HOST_LIBS= 45 QT_HOST_LIBS=
46 QT_HOST_DATA= 46 QT_HOST_DATA=
47 QT_EXT_PREFIX= 47 QT_EXT_PREFIX=
@@ -49,7 +49,7 @@ index b1dfca9..dcd1790 100755
49 49
50 #flags for SQL drivers 50 #flags for SQL drivers
51 QT_CFLAGS_PSQL= 51 QT_CFLAGS_PSQL=
52@@ -887,6 +888,7 @@ while [ "$#" -gt 0 ]; do 52@@ -888,6 +889,7 @@ while [ "$#" -gt 0 ]; do
53 -testsdir| \ 53 -testsdir| \
54 -hostdatadir| \ 54 -hostdatadir| \
55 -hostbindir| \ 55 -hostbindir| \
@@ -57,7 +57,7 @@ index b1dfca9..dcd1790 100755
57 -hostlibdir| \ 57 -hostlibdir| \
58 -extprefix| \ 58 -extprefix| \
59 -sysroot| \ 59 -sysroot| \
60@@ -1101,6 +1103,9 @@ while [ "$#" -gt 0 ]; do 60@@ -1102,6 +1104,9 @@ while [ "$#" -gt 0 ]; do
61 extprefix) 61 extprefix)
62 QT_EXT_PREFIX="$VAL" 62 QT_EXT_PREFIX="$VAL"
63 ;; 63 ;;
@@ -67,7 +67,7 @@ index b1dfca9..dcd1790 100755
67 pkg-config) 67 pkg-config)
68 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then 68 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
69 CFG_PKGCONFIG="$VAL" 69 CFG_PKGCONFIG="$VAL"
70@@ -2252,6 +2257,10 @@ Installation options: 70@@ -2260,6 +2265,10 @@ Installation options:
71 -hostdatadir <dir> . Data used by qmake will be installed to <dir> 71 -hostdatadir <dir> . Data used by qmake will be installed to <dir>
72 (default HOSTPREFIX) 72 (default HOSTPREFIX)
73 73
@@ -78,7 +78,7 @@ index b1dfca9..dcd1790 100755
78 Configure options: 78 Configure options:
79 79
80 The defaults (*) are usually acceptable. A plus (+) denotes a default value 80 The defaults (*) are usually acceptable. A plus (+) denotes a default value
81@@ -2916,6 +2925,11 @@ fi 81@@ -2939,6 +2948,11 @@ fi
82 # command line and environment validation 82 # command line and environment validation
83 #------------------------------------------------------------------------------- 83 #-------------------------------------------------------------------------------
84 84
@@ -90,7 +90,7 @@ index b1dfca9..dcd1790 100755
90 # update QT_CONFIG to show our current predefined configuration 90 # update QT_CONFIG to show our current predefined configuration
91 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h 91 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
92 case "$CFG_QCONFIG" in 92 case "$CFG_QCONFIG" in
93@@ -3609,6 +3623,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = { 93@@ -3638,6 +3652,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = {
94 "qt_hbinpath=$QT_HOST_BINS", 94 "qt_hbinpath=$QT_HOST_BINS",
95 "qt_hlibpath=$QT_HOST_LIBS", 95 "qt_hlibpath=$QT_HOST_LIBS",
96 "qt_hdatpath=$QT_HOST_DATA", 96 "qt_hdatpath=$QT_HOST_DATA",
@@ -99,7 +99,7 @@ index b1dfca9..dcd1790 100755
99 "qt_hostspec=$shortspec", 99 "qt_hostspec=$shortspec",
100 #endif 100 #endif
101diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf 101diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
102index 709248a..ea2fed0 100644 102index a9a622d..b6f1db0 100644
103--- a/mkspecs/features/qt_functions.prf 103--- a/mkspecs/features/qt_functions.prf
104+++ b/mkspecs/features/qt_functions.prf 104+++ b/mkspecs/features/qt_functions.prf
105@@ -191,7 +191,11 @@ defineTest(qtAddRpathLink) { 105@@ -191,7 +191,11 @@ defineTest(qtAddRpathLink) {
@@ -279,7 +279,7 @@ index 99d87e2..5621dc0 100644
279 _qt5_Widgets_check_file_exists(${imported_location}) 279 _qt5_Widgets_check_file_exists(${imported_location})
280 280
281diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 281diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
282index ef71097..7969132 100644 282index 99ecc7b..6e0f4da 100644
283--- a/tools/configure/configureapp.cpp 283--- a/tools/configure/configureapp.cpp
284+++ b/tools/configure/configureapp.cpp 284+++ b/tools/configure/configureapp.cpp
285@@ -1191,6 +1191,13 @@ void Configure::parseCmdLine() 285@@ -1191,6 +1191,13 @@ void Configure::parseCmdLine()
@@ -296,7 +296,7 @@ index ef71097..7969132 100644
296 else if (configCmdLine.at(i) == "-make-tool") { 296 else if (configCmdLine.at(i) == "-make-tool") {
297 ++i; 297 ++i;
298 if (i == argCount) 298 if (i == argCount)
299@@ -3984,6 +3991,7 @@ void Configure::generateQConfigCpp() 299@@ -3994,6 +4001,7 @@ void Configure::generateQConfigCpp()
300 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl 300 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
301 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl 301 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl
302 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl 302 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl
diff --git a/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch b/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
index b7e515a4..b5b77464 100644
--- a/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
+++ b/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
@@ -1,4 +1,4 @@
1From 73d7d25b8a424eecef197de60a3a504e163f0816 Mon Sep 17 00:00:00 2001 1From e74a3790f613771099e3373f8e6df506c3520b73 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 27 Apr 2013 22:33:33 +0200 3Date: Sat, 27 Apr 2013 22:33:33 +0200
4Subject: [PATCH 04/11] configureapp: Prefix default LIBDIRS and INCDIRS with 4Subject: [PATCH 04/11] configureapp: Prefix default LIBDIRS and INCDIRS with
@@ -11,10 +11,10 @@ Upstream-Status: Pending
11 1 file changed, 2 insertions(+), 2 deletions(-) 11 1 file changed, 2 insertions(+), 2 deletions(-)
12 12
13diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 13diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
14index 7969132..439dcfb 100644 14index 6e0f4da..d72c302 100644
15--- a/tools/configure/configureapp.cpp 15--- a/tools/configure/configureapp.cpp
16+++ b/tools/configure/configureapp.cpp 16+++ b/tools/configure/configureapp.cpp
17@@ -3373,8 +3373,8 @@ void Configure::generateQConfigPri() 17@@ -3383,8 +3383,8 @@ void Configure::generateQConfigPri()
18 configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl; 18 configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl;
19 if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) { 19 if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) {
20 // FIXME: add detection 20 // FIXME: add detection
diff --git a/recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
index d1ec16ce..46616066 100644
--- a/recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
+++ b/recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
@@ -1,4 +1,4 @@
1From fcbe3eefa24348cbf98ca9fc9e137ac6ccaf1f87 Mon Sep 17 00:00:00 2001 1From 9f7dd27bb14cf0c3425c2c8fdec2f6d0df3852f9 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 27 Apr 2013 23:15:37 +0200 3Date: Sat, 27 Apr 2013 23:15:37 +0200
4Subject: [PATCH 05/11] qt_module: Fix pkgconfig and libtool replacements 4Subject: [PATCH 05/11] qt_module: Fix pkgconfig and libtool replacements
@@ -80,10 +80,10 @@ index ebc5f00..46319d8 100644
80 lib_replace.CONFIG = path 80 lib_replace.CONFIG = path
81 QMAKE_PRL_INSTALL_REPLACE += lib_replace 81 QMAKE_PRL_INSTALL_REPLACE += lib_replace
82diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf 82diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
83index 6ab8267..2b4943c 100644 83index 8599a47..7da73a6 100644
84--- a/mkspecs/features/qt_module.prf 84--- a/mkspecs/features/qt_module.prf
85+++ b/mkspecs/features/qt_module.prf 85+++ b/mkspecs/features/qt_module.prf
86@@ -188,10 +188,25 @@ unix|mingw { 86@@ -190,10 +190,25 @@ unix|mingw {
87 QMAKE_PKGCONFIG_DESCRIPTION = $$replace(TARGET, ^Qt, "Qt ") module 87 QMAKE_PKGCONFIG_DESCRIPTION = $$replace(TARGET, ^Qt, "Qt ") module
88 QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace 88 QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace
89 89
diff --git a/recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch b/recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
index 13248024..6e47e815 100644
--- a/recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
+++ b/recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
@@ -1,4 +1,4 @@
1From 285b31f709a81b7e51b5c3d96061fa731cdfdf7d Mon Sep 17 00:00:00 2001 1From 4b6778e44b35d97bd08baded4e5d1f570693ae05 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 21 Apr 2014 19:22:04 +0200 3Date: Mon, 21 Apr 2014 19:22:04 +0200
4Subject: [PATCH 06/11] Revert "eglfs: Print the chosen config in debug mode" 4Subject: [PATCH 06/11] Revert "eglfs: Print the chosen config in debug mode"
@@ -40,15 +40,18 @@ With this change the build is failing with:
40 40
41This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e. 41This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e.
42 42
43Will be partially resolved in newer revision with:
44https://codereview.qt-project.org/96220
45
43Change-Id: I7a6a926b7525d4f137824c71f2ec8cd089c21f13 46Change-Id: I7a6a926b7525d4f137824c71f2ec8cd089c21f13
47Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
44--- 48---
45 src/platformsupport/eglconvenience/qeglconvenience.cpp | 4 +++- 49 src/platformsupport/eglconvenience/qeglconvenience.cpp | 4 +++-
46 src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 7 ------- 50 src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 7 -------
47 src/platformsupport/eglconvenience/qeglplatformintegration.cpp | 4 ++-- 51 2 files changed, 3 insertions(+), 8 deletions(-)
48 3 files changed, 5 insertions(+), 10 deletions(-)
49 52
50diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp 53diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp
51index b7ce6df..e8c1925 100644 54index 1fdeec3..0fa3d88 100644
52--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp 55--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp
53+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp 56+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp
54@@ -443,9 +443,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config) 57@@ -443,9 +443,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config)
@@ -89,28 +92,6 @@ index 7cc3300..ccbd974 100644
89 updateFormatFromGL(); 92 updateFormatFromGL();
90 } 93 }
91 94
92diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp
93index b8205dc..6005684 100644
94--- a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp
95+++ b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp
96@@ -193,7 +193,7 @@ enum ResourceType {
97 EglContext,
98 EglConfig,
99 NativeDisplay,
100- Display
101+ XDisplay
102 };
103
104 static int resourceType(const QByteArray &key)
105@@ -236,7 +236,7 @@ void *QEGLPlatformIntegration::nativeResourceForScreen(const QByteArray &resourc
106 void *result = 0;
107
108 switch (resourceType(resource)) {
109- case Display:
110+ case XDisplay:
111 // Play nice when using the x11 hooks: Be compatible with xcb that allows querying
112 // the X Display pointer, which is nothing but our native display.
113 result = reinterpret_cast<void*>(nativeDisplay());
114-- 95--
1152.1.1 962.1.1
116 97
diff --git a/recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
index 8f469103..ddc541a7 100644
--- a/recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
+++ b/recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
@@ -1,4 +1,4 @@
1From 9563ef306503f2503a09aadce63020b3048a185d Mon Sep 17 00:00:00 2001 1From 2ec9a882cd9a0893f2060ef36d28e0568416f9fe Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 19 Mar 2014 18:32:28 +0100 3Date: Wed, 19 Mar 2014 18:32:28 +0100
4Subject: [PATCH 07/11] qeglplatformintegration: Undefine CursorShape from X.h 4Subject: [PATCH 07/11] qeglplatformintegration: Undefine CursorShape from X.h
diff --git a/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch
index afe9b743..508f9f98 100644
--- a/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch
+++ b/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch
@@ -1,4 +1,4 @@
1From 33d46bd0229ff9635c14724231eb95f556afd5c2 Mon Sep 17 00:00:00 2001 1From 00906b6ca765e7e71d354bf675b27b3862af535c Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Mon, 11 Nov 2013 20:27:30 -0500 3Date: Mon, 11 Nov 2013 20:27:30 -0500
4Subject: [PATCH 08/11] configure: bump path length from 256 to 512 characters 4Subject: [PATCH 08/11] configure: bump path length from 256 to 512 characters
@@ -12,10 +12,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
13 13
14diff --git a/configure b/configure 14diff --git a/configure b/configure
15index dcd1790..fe6bed4 100755 15index 7d7a98a..3f05383 100755
16--- a/configure 16--- a/configure
17+++ b/configure 17+++ b/configure
18@@ -3587,7 +3587,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ 18@@ -3616,7 +3616,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
19 static const char qt_configure_installation [12+11] = "qt_instdate=`date +%Y-%m-%d`"; 19 static const char qt_configure_installation [12+11] = "qt_instdate=`date +%Y-%m-%d`";
20 20
21 /* Installation Info */ 21 /* Installation Info */
diff --git a/recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch b/recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
index de3e2d68..0f663304 100644
--- a/recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
+++ b/recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
@@ -1,4 +1,4 @@
1From 5d088522706a3533800e51c011c93d3d2ea58a4d Mon Sep 17 00:00:00 2001 1From 46cf3a50908de0ccec31de6705674a4c69fb8d6c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 5 Feb 2014 18:35:08 +0100 3Date: Wed, 5 Feb 2014 18:35:08 +0100
4Subject: [PATCH 09/11] eglfs: fix egl error for platforms only supporting one 4Subject: [PATCH 09/11] eglfs: fix egl error for platforms only supporting one
diff --git a/recipes-qt/qt5/qtbase-git/0010-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase-git/0010-QOpenGLPaintDevice-sub-area-support.patch
index db979bd4..51a244d7 100644
--- a/recipes-qt/qt5/qtbase-git/0010-QOpenGLPaintDevice-sub-area-support.patch
+++ b/recipes-qt/qt5/qtbase-git/0010-QOpenGLPaintDevice-sub-area-support.patch
@@ -1,4 +1,4 @@
1From 709c35b889e46f2b1bc36d88c732f1b440e6c236 Mon Sep 17 00:00:00 2001 1From e7b9af7232c4f7eb50933dde208e58438bedd964 Mon Sep 17 00:00:00 2001
2From: Jani Hautakangas <jani.hautakangas@ixonos.com> 2From: Jani Hautakangas <jani.hautakangas@ixonos.com>
3Date: Thu, 16 May 2013 09:52:07 +0300 3Date: Thu, 16 May 2013 09:52:07 +0300
4Subject: [PATCH 10/11] QOpenGLPaintDevice sub-area support 4Subject: [PATCH 10/11] QOpenGLPaintDevice sub-area support
@@ -12,26 +12,19 @@ Change-Id: Ida2f079aa1ac0b87d36b54129e226399dbcdda80
12 12
13Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 13Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14--- 14---
15 src/gui/opengl/qopenglpaintdevice.cpp | 12 ++++++++++++ 15 src/gui/opengl/qopenglpaintdevice.cpp | 11 +++++++++++
16 src/gui/opengl/qopenglpaintdevice.h | 2 ++ 16 src/gui/opengl/qopenglpaintdevice.h | 2 ++
17 src/gui/opengl/qopenglpaintdevice_p.h | 1 +
17 src/gui/opengl/qopenglpaintengine.cpp | 9 +++++++-- 18 src/gui/opengl/qopenglpaintengine.cpp | 9 +++++++--
18 src/gui/opengl/qopenglpaintengine_p.h | 1 + 19 src/gui/opengl/qopenglpaintengine_p.h | 1 +
19 src/gui/opengl/qopengltextureglyphcache.cpp | 2 +- 20 src/gui/opengl/qopengltextureglyphcache.cpp | 2 +-
20 5 files changed, 23 insertions(+), 3 deletions(-) 21 6 files changed, 23 insertions(+), 3 deletions(-)
21 22
22diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp 23diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp
23index 59bca6e..ea0ee88 100644 24index e908fd8..8f0ef56 100644
24--- a/src/gui/opengl/qopenglpaintdevice.cpp 25--- a/src/gui/opengl/qopenglpaintdevice.cpp
25+++ b/src/gui/opengl/qopenglpaintdevice.cpp 26+++ b/src/gui/opengl/qopenglpaintdevice.cpp
26@@ -103,6 +103,7 @@ class QOpenGLPaintDevicePrivate 27@@ -135,6 +135,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height)
27 public:
28 QOpenGLPaintDevicePrivate(const QSize &size);
29
30+ QPoint offset;
31 QSize size;
32 QOpenGLContext *ctx;
33
34@@ -151,6 +152,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height)
35 { 28 {
36 } 29 }
37 30
@@ -42,9 +35,9 @@ index 59bca6e..ea0ee88 100644
42+} 35+}
43+ 36+
44 /*! 37 /*!
45 Destroys the QOpenGLPaintDevice. 38 \internal
46 */ 39 */
47@@ -220,6 +227,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const 40@@ -212,6 +218,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const
48 return d_ptr->ctx; 41 return d_ptr->ctx;
49 } 42 }
50 43
@@ -57,17 +50,18 @@ index 59bca6e..ea0ee88 100644
57 Returns the pixel size of the paint device. 50 Returns the pixel size of the paint device.
58 51
59diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h 52diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h
60index e1be9b5..1a3ddbc 100644 53index dda3bfe..9965553 100644
61--- a/src/gui/opengl/qopenglpaintdevice.h 54--- a/src/gui/opengl/qopenglpaintdevice.h
62+++ b/src/gui/opengl/qopenglpaintdevice.h 55+++ b/src/gui/opengl/qopenglpaintdevice.h
63@@ -54,12 +54,14 @@ public: 56@@ -53,6 +53,7 @@ public:
64 QOpenGLPaintDevice(); 57 QOpenGLPaintDevice();
65 explicit QOpenGLPaintDevice(const QSize &size); 58 explicit QOpenGLPaintDevice(const QSize &size);
66 QOpenGLPaintDevice(int width, int height); 59 QOpenGLPaintDevice(int width, int height);
67+ QOpenGLPaintDevice(int x, int y, int width, int height); 60+ QOpenGLPaintDevice(int x, int y, int width, int height);
61 QOpenGLPaintDevice(QOpenGLPaintDevicePrivate *dd);
68 virtual ~QOpenGLPaintDevice(); 62 virtual ~QOpenGLPaintDevice();
69 63
70 int devType() const { return QInternal::OpenGL; } 64@@ -60,6 +61,7 @@ public:
71 QPaintEngine *paintEngine() const; 65 QPaintEngine *paintEngine() const;
72 66
73 QOpenGLContext *context() const; 67 QOpenGLContext *context() const;
@@ -75,11 +69,23 @@ index e1be9b5..1a3ddbc 100644
75 QSize size() const; 69 QSize size() const;
76 void setSize(const QSize &size); 70 void setSize(const QSize &size);
77 void setDevicePixelRatio(qreal devicePixelRatio); 71 void setDevicePixelRatio(qreal devicePixelRatio);
72diff --git a/src/gui/opengl/qopenglpaintdevice_p.h b/src/gui/opengl/qopenglpaintdevice_p.h
73index 0b01129..211f2f3 100644
74--- a/src/gui/opengl/qopenglpaintdevice_p.h
75+++ b/src/gui/opengl/qopenglpaintdevice_p.h
76@@ -65,6 +65,7 @@ public:
77
78 public:
79 QSize size;
80+ QPoint offset;
81 QOpenGLContext *ctx;
82
83 qreal dpmx;
78diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp 84diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp
79index 21bc4a9..ce008a4 100644 85index c490726..1d775fd 100644
80--- a/src/gui/opengl/qopenglpaintengine.cpp 86--- a/src/gui/opengl/qopenglpaintengine.cpp
81+++ b/src/gui/opengl/qopenglpaintengine.cpp 87+++ b/src/gui/opengl/qopenglpaintengine.cpp
82@@ -1999,7 +1999,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) 88@@ -2002,7 +2002,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev)
83 for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) 89 for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i)
84 d->vertexAttributeArraysEnabledState[i] = false; 90 d->vertexAttributeArraysEnabledState[i] = false;
85 91
@@ -90,7 +96,7 @@ index 21bc4a9..ce008a4 100644
90 d->width = sz.width(); 96 d->width = sz.width();
91 d->height = sz.height(); 97 d->height = sz.height();
92 d->mode = BrushDrawingMode; 98 d->mode = BrushDrawingMode;
93@@ -2084,7 +2087,7 @@ void QOpenGL2PaintEngineEx::ensureActive() 99@@ -2089,7 +2092,7 @@ void QOpenGL2PaintEngineEx::ensureActive()
94 d->device->ensureActiveTarget(); 100 d->device->ensureActiveTarget();
95 101
96 d->transferMode(BrushDrawingMode); 102 d->transferMode(BrushDrawingMode);
@@ -99,7 +105,7 @@ index 21bc4a9..ce008a4 100644
99 d->needsSync = false; 105 d->needsSync = false;
100 d->lastMaskTextureUsed = 0; 106 d->lastMaskTextureUsed = 0;
101 d->shaderManager->setDirty(); 107 d->shaderManager->setDirty();
102@@ -2127,6 +2130,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() 108@@ -2132,6 +2135,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
103 if (bounds == QRect(0, 0, width, height)) { 109 if (bounds == QRect(0, 0, width, height)) {
104 funcs.glDisable(GL_SCISSOR_TEST); 110 funcs.glDisable(GL_SCISSOR_TEST);
105 } else { 111 } else {
@@ -107,7 +113,7 @@ index 21bc4a9..ce008a4 100644
107 funcs.glEnable(GL_SCISSOR_TEST); 113 funcs.glEnable(GL_SCISSOR_TEST);
108 setScissor(bounds); 114 setScissor(bounds);
109 } 115 }
110@@ -2135,12 +2139,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() 116@@ -2140,12 +2144,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
111 117
112 void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) 118 void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect)
113 { 119 {
diff --git a/recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch b/recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch
index 9bd001b4..8ef6eaa2 100644
--- a/recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch
+++ b/recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch
@@ -1,4 +1,4 @@
1From 2dd5a897d7e2f073b4223595a7bf214d3481b68a Mon Sep 17 00:00:00 2001 1From 8a3493c260f8b0580f9dd0ab2dafbf968c14e019 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 16 Nov 2013 00:32:30 +0100 3Date: Sat, 16 Nov 2013 00:32:30 +0100
4Subject: [PATCH 11/12] Always build uic 4Subject: [PATCH 11/12] Always build uic
diff --git a/recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
index e39693ff..1e701c7d 100644
--- a/recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
+++ b/recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
@@ -1,4 +1,4 @@
1From 5d6e6b18d2049bad370c594e5ab30fd85c0ed047 Mon Sep 17 00:00:00 2001 1From d750936020f354b8c59bbfcbf3930115c390d36d Mon Sep 17 00:00:00 2001
2From: Michael Krelin <hacker@klever.net> 2From: Michael Krelin <hacker@klever.net>
3Date: Mon, 29 Oct 2012 20:07:49 -0700 3Date: Mon, 29 Oct 2012 20:07:49 -0700
4Subject: [PATCH 11/11] qmake: don't build it in configure, but allow to build 4Subject: [PATCH 11/11] qmake: don't build it in configure, but allow to build
@@ -20,10 +20,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
20 2 files changed, 3 insertions(+), 1 deletion(-) 20 2 files changed, 3 insertions(+), 1 deletion(-)
21 21
22diff --git a/configure b/configure 22diff --git a/configure b/configure
23index fe6bed4..9628be2 100755 23index 3f05383..05ae996 100755
24--- a/configure 24--- a/configure
25+++ b/configure 25+++ b/configure
26@@ -3689,7 +3689,7 @@ setBootstrapEvalVariable() 26@@ -3718,7 +3718,7 @@ setBootstrapEvalVariable()
27 27
28 28
29 # build qmake 29 # build qmake
diff --git a/recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch b/recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch
index c9941206..d89f3446 100644
--- a/recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch
+++ b/recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch
@@ -1,4 +1,4 @@
1From f1b4d7d4c96b6ded9bd312f6db2ba735feb001c0 Mon Sep 17 00:00:00 2001 1From 36b89f6e50e2b28d8646a5e77cdac36ecbd6ba4f Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Mon, 11 Nov 2013 20:22:34 -0500 3Date: Mon, 11 Nov 2013 20:22:34 -0500
4Subject: [PATCH 12/12] configure: preserve built qmake and swap with native 4Subject: [PATCH 12/12] configure: preserve built qmake and swap with native
@@ -13,10 +13,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
13 1 file changed, 2 insertions(+) 13 1 file changed, 2 insertions(+)
14 14
15diff --git a/configure b/configure 15diff --git a/configure b/configure
16index fe6bed4..ea661a3 100755 16index 3f05383..d6ff774 100755
17--- a/configure 17--- a/configure
18+++ b/configure 18+++ b/configure
19@@ -3839,6 +3839,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 19@@ -3868,6 +3868,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
20 20
21 (cd "$outpath/qmake"; "$MAKE") || exit 2 21 (cd "$outpath/qmake"; "$MAKE") || exit 2
22 fi # Build qmake 22 fi # Build qmake