diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase-git')
14 files changed, 174 insertions, 140 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 eca6b36d..60a23391 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,7 +1,7 @@ | |||
1 | From 9c7d71880c6ec5b07e3030b7c7a23e004d5c60a2 Mon Sep 17 00:00:00 2001 | 1 | From 7a573e702d37f3e83b92f6b07345aaab05261e7b Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 | 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 |
4 | Subject: [PATCH 01/12] Add linux-oe-g++ platform | 4 | Subject: [PATCH 01/11] Add linux-oe-g++ platform |
5 | 5 | ||
6 | * This qmake.conf unlike other platforms reads most variables from | 6 | * This qmake.conf unlike other platforms reads most variables from |
7 | shell environment, because it's easier for qt recipes to export | 7 | shell environment, because it's easier for qt recipes to export |
@@ -51,10 +51,10 @@ 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 | ||
53 | diff --git a/configure b/configure | 53 | diff --git a/configure b/configure |
54 | index d5c2b08..4eae0d3 100755 | 54 | index 1efb645..b1dfca9 100755 |
55 | --- a/configure | 55 | --- a/configure |
56 | +++ b/configure | 56 | +++ b/configure |
57 | @@ -324,6 +324,16 @@ getQMakeConf() | 57 | @@ -316,6 +316,16 @@ getQMakeConf() |
58 | getSingleQMakeVariable "$1" "$specvals" | 58 | getSingleQMakeVariable "$1" "$specvals" |
59 | } | 59 | } |
60 | 60 | ||
@@ -71,7 +71,7 @@ index d5c2b08..4eae0d3 100755 | |||
71 | getXQMakeConf() | 71 | getXQMakeConf() |
72 | { | 72 | { |
73 | if [ -z "$xspecvals" ]; then | 73 | if [ -z "$xspecvals" ]; then |
74 | @@ -333,6 +343,16 @@ getXQMakeConf() | 74 | @@ -325,6 +335,16 @@ getXQMakeConf() |
75 | getSingleQMakeVariable "$1" "$xspecvals" | 75 | getSingleQMakeVariable "$1" "$xspecvals" |
76 | } | 76 | } |
77 | 77 | ||
@@ -88,7 +88,7 @@ index d5c2b08..4eae0d3 100755 | |||
88 | compilerSupportsFlag() | 88 | compilerSupportsFlag() |
89 | { | 89 | { |
90 | cat >conftest.cpp <<EOF | 90 | cat >conftest.cpp <<EOF |
91 | @@ -548,21 +568,19 @@ fi | 91 | @@ -541,21 +561,19 @@ fi |
92 | # initalize variables | 92 | # initalize variables |
93 | #------------------------------------------------------------------------------- | 93 | #------------------------------------------------------------------------------- |
94 | 94 | ||
@@ -118,7 +118,7 @@ index d5c2b08..4eae0d3 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 | @@ -3140,7 +3158,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then | 121 | @@ -3141,7 +3159,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 d5c2b08..4eae0d3 100755 | |||
127 | 127 | ||
128 | TEST_COMPILER=$QMAKE_CONF_COMPILER | 128 | TEST_COMPILER=$QMAKE_CONF_COMPILER |
129 | 129 | ||
130 | @@ -3175,7 +3193,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then | 130 | @@ -3176,7 +3194,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 d5c2b08..4eae0d3 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 | @@ -3633,6 +3651,14 @@ setBootstrapVariable() | 139 | @@ -3647,6 +3665,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 d5c2b08..4eae0d3 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 | @@ -3671,14 +3697,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | 154 | @@ -3685,14 +3711,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= |
@@ -175,7 +175,7 @@ index d5c2b08..4eae0d3 100755 | |||
175 | if [ "$CFG_RELEASE_QMAKE" = "yes" ]; then | 175 | if [ "$CFG_RELEASE_QMAKE" = "yes" ]; then |
176 | setBootstrapVariable QMAKE_CFLAGS_RELEASE | 176 | setBootstrapVariable QMAKE_CFLAGS_RELEASE |
177 | diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf | 177 | diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf |
178 | index fe41c54..e2db923 100644 | 178 | index 05e10c9..213eeb8 100644 |
179 | --- a/mkspecs/features/configure.prf | 179 | --- a/mkspecs/features/configure.prf |
180 | +++ b/mkspecs/features/configure.prf | 180 | +++ b/mkspecs/features/configure.prf |
181 | @@ -60,12 +60,12 @@ defineTest(qtCompileTest) { | 181 | @@ -60,12 +60,12 @@ defineTest(qtCompileTest) { |
@@ -187,7 +187,7 @@ index fe41c54..e2db923 100644 | |||
187 | 187 | ||
188 | mkpath($$test_out_dir)|error("Aborting.") | 188 | mkpath($$test_out_dir)|error("Aborting.") |
189 | 189 | ||
190 | qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) $$qmake_configs $$shell_quote($$test_dir)") { | 190 | qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) -spec $$QMAKESPEC $$qmake_configs $$shell_quote($$test_dir)") { |
191 | - qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE") { | 191 | - qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE") { |
192 | + qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS)") { | 192 | + qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS)") { |
193 | log("yes$$escape_expand(\\n)") | 193 | log("yes$$escape_expand(\\n)") |
@@ -346,5 +346,5 @@ index 0000000..dd12003 | |||
346 | + | 346 | + |
347 | +#endif // QPLATFORMDEFS_H | 347 | +#endif // QPLATFORMDEFS_H |
348 | -- | 348 | -- |
349 | 2.0.0 | 349 | 2.1.1 |
350 | 350 | ||
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 29f788e7..06331aa7 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,7 +1,7 @@ | |||
1 | From ad884ab378939e685a3b00af03bb6875d9bdc1d5 Mon Sep 17 00:00:00 2001 | 1 | From e521cd2d84acad69fb3d57a5e97073898d03fbf0 Mon Sep 17 00:00:00 2001 |
2 | From: Holger Freyther <zecke@selfish.org> | 2 | From: Holger Freyther <zecke@selfish.org> |
3 | Date: Wed, 26 Sep 2012 17:22:30 +0200 | 3 | Date: Wed, 26 Sep 2012 17:22:30 +0200 |
4 | Subject: [PATCH 02/12] qlibraryinfo: allow to set qt.conf from the outside | 4 | Subject: [PATCH 02/11] qlibraryinfo: allow to set qt.conf from the outside |
5 | using the environment | 5 | using the environment |
6 | 6 | ||
7 | Allow to set a qt.conf from the outside using the environment. This allows | 7 | 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> | |||
19 | 1 file changed, 4 insertions(+), 1 deletion(-) | 19 | 1 file changed, 4 insertions(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | 21 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp |
22 | index 6d25325..80e0f30 100644 | 22 | index c3ec2bc..1be2659 100644 |
23 | --- a/src/corelib/global/qlibraryinfo.cpp | 23 | --- a/src/corelib/global/qlibraryinfo.cpp |
24 | +++ b/src/corelib/global/qlibraryinfo.cpp | 24 | +++ b/src/corelib/global/qlibraryinfo.cpp |
25 | @@ -153,7 +153,10 @@ QLibrarySettings::QLibrarySettings() | 25 | @@ -147,7 +147,10 @@ QLibrarySettings::QLibrarySettings() |
26 | 26 | ||
27 | QSettings *QLibraryInfoPrivate::findConfiguration() | 27 | QSettings *QLibraryInfoPrivate::findConfiguration() |
28 | { | 28 | { |
@@ -35,5 +35,5 @@ index 6d25325..80e0f30 100644 | |||
35 | if(!QFile::exists(qtconfig)) | 35 | if(!QFile::exists(qtconfig)) |
36 | qtconfig = qt_libraryInfoFile(); | 36 | qtconfig = qt_libraryInfoFile(); |
37 | -- | 37 | -- |
38 | 2.0.0 | 38 | 2.1.1 |
39 | 39 | ||
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 2abea8fc..88bb4841 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,7 +1,7 @@ | |||
1 | From b544f5f3462e2981ada045a32038b7f116f8590c Mon Sep 17 00:00:00 2001 | 1 | From 735d4f58381452854ed7b0c2f762030d747098e1 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 | 3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 |
4 | Subject: [PATCH 03/12] Add -external-hostbindir option | 4 | Subject: [PATCH 03/11] Add -external-hostbindir option |
5 | 5 | ||
6 | * when cross-compiling it's sometimes useful to use existing tools from machine | 6 | * when cross-compiling it's sometimes useful to use existing tools from machine |
7 | (or in OpenEmbedded built with separate native recipe) when building for target | 7 | (or in OpenEmbedded built with separate native recipe) when building for target |
@@ -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 | ||
40 | diff --git a/configure b/configure | 40 | diff --git a/configure b/configure |
41 | index d5c2b08..dcd066c 100755 | 41 | index b1dfca9..dcd1790 100755 |
42 | --- a/configure | 42 | --- a/configure |
43 | +++ b/configure | 43 | +++ b/configure |
44 | @@ -759,6 +759,7 @@ QT_HOST_BINS= | 44 | @@ -768,6 +768,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 d5c2b08..dcd066c 100755 | |||
49 | 49 | ||
50 | #flags for SQL drivers | 50 | #flags for SQL drivers |
51 | QT_CFLAGS_PSQL= | 51 | QT_CFLAGS_PSQL= |
52 | @@ -878,6 +879,7 @@ while [ "$#" -gt 0 ]; do | 52 | @@ -887,6 +888,7 @@ while [ "$#" -gt 0 ]; do |
53 | -testsdir| \ | 53 | -testsdir| \ |
54 | -hostdatadir| \ | 54 | -hostdatadir| \ |
55 | -hostbindir| \ | 55 | -hostbindir| \ |
@@ -57,7 +57,7 @@ index d5c2b08..dcd066c 100755 | |||
57 | -hostlibdir| \ | 57 | -hostlibdir| \ |
58 | -extprefix| \ | 58 | -extprefix| \ |
59 | -sysroot| \ | 59 | -sysroot| \ |
60 | @@ -1092,6 +1094,9 @@ while [ "$#" -gt 0 ]; do | 60 | @@ -1101,6 +1103,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 d5c2b08..dcd066c 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 | @@ -2230,6 +2235,10 @@ Installation options: | 70 | @@ -2252,6 +2257,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 d5c2b08..dcd066c 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 | @@ -2897,6 +2906,11 @@ fi | 81 | @@ -2916,6 +2925,11 @@ fi |
82 | # command line and environment validation | 82 | # command line and environment validation |
83 | #------------------------------------------------------------------------------- | 83 | #------------------------------------------------------------------------------- |
84 | 84 | ||
@@ -90,7 +90,7 @@ index d5c2b08..dcd066c 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 | @@ -3577,6 +3591,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = { | 93 | @@ -3609,6 +3623,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,10 +99,10 @@ index d5c2b08..dcd066c 100755 | |||
99 | "qt_hostspec=$shortspec", | 99 | "qt_hostspec=$shortspec", |
100 | #endif | 100 | #endif |
101 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf | 101 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf |
102 | index 9a4d80e..dfc1cff 100644 | 102 | index 709248a..ea2fed0 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 | @@ -193,7 +193,11 @@ defineTest(qtAddRpathLink) { | 105 | @@ -191,7 +191,11 @@ defineTest(qtAddRpathLink) { |
106 | defineTest(qtPrepareTool) { | 106 | defineTest(qtPrepareTool) { |
107 | cmd = $$eval(QT_TOOL.$${2}.binary) | 107 | cmd = $$eval(QT_TOOL.$${2}.binary) |
108 | isEmpty(cmd) { | 108 | isEmpty(cmd) { |
@@ -134,10 +134,10 @@ index 1d3e88c..9b26adf 100644 | |||
134 | 134 | ||
135 | !host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private) | 135 | !host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private) |
136 | diff --git a/qmake/property.cpp b/qmake/property.cpp | 136 | diff --git a/qmake/property.cpp b/qmake/property.cpp |
137 | index e50485c..71291ad 100644 | 137 | index 051e056..50da6ed 100644 |
138 | --- a/qmake/property.cpp | 138 | --- a/qmake/property.cpp |
139 | +++ b/qmake/property.cpp | 139 | +++ b/qmake/property.cpp |
140 | @@ -75,6 +75,7 @@ static const struct { | 140 | @@ -67,6 +67,7 @@ static const struct { |
141 | { "QT_HOST_DATA", QLibraryInfo::HostDataPath, true }, | 141 | { "QT_HOST_DATA", QLibraryInfo::HostDataPath, true }, |
142 | { "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true }, | 142 | { "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true }, |
143 | { "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true }, | 143 | { "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true }, |
@@ -211,10 +211,10 @@ index 9bda70e..6e3605a 100644 | |||
211 | _qt5_Core_check_file_exists(${imported_location}) | 211 | _qt5_Core_check_file_exists(${imported_location}) |
212 | 212 | ||
213 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | 213 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp |
214 | index 174c1d0..1fe03cb 100644 | 214 | index 1be2659..6c3718a 100644 |
215 | --- a/src/corelib/global/qlibraryinfo.cpp | 215 | --- a/src/corelib/global/qlibraryinfo.cpp |
216 | +++ b/src/corelib/global/qlibraryinfo.cpp | 216 | +++ b/src/corelib/global/qlibraryinfo.cpp |
217 | @@ -333,7 +333,7 @@ QLibraryInfo::isDebugBuild() | 217 | @@ -357,7 +357,7 @@ QLibraryInfo::isDebugBuild() |
218 | */ | 218 | */ |
219 | 219 | ||
220 | static const struct { | 220 | static const struct { |
@@ -223,7 +223,7 @@ index 174c1d0..1fe03cb 100644 | |||
223 | } qtConfEntries[] = { | 223 | } qtConfEntries[] = { |
224 | { "Prefix", "." }, | 224 | { "Prefix", "." }, |
225 | { "Documentation", "doc" }, // should be ${Data}/doc | 225 | { "Documentation", "doc" }, // should be ${Data}/doc |
226 | @@ -359,6 +359,7 @@ static const struct { | 226 | @@ -383,6 +383,7 @@ static const struct { |
227 | { "HostBinaries", "bin" }, | 227 | { "HostBinaries", "bin" }, |
228 | { "HostLibraries", "lib" }, | 228 | { "HostLibraries", "lib" }, |
229 | { "HostData", "." }, | 229 | { "HostData", "." }, |
@@ -232,10 +232,10 @@ index 174c1d0..1fe03cb 100644 | |||
232 | { "HostSpec", "" }, | 232 | { "HostSpec", "" }, |
233 | #endif | 233 | #endif |
234 | diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h | 234 | diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h |
235 | index 0b573c2..b5535ee 100644 | 235 | index 543c4b3..a02e03a 100644 |
236 | --- a/src/corelib/global/qlibraryinfo.h | 236 | --- a/src/corelib/global/qlibraryinfo.h |
237 | +++ b/src/corelib/global/qlibraryinfo.h | 237 | +++ b/src/corelib/global/qlibraryinfo.h |
238 | @@ -88,6 +88,7 @@ public: | 238 | @@ -80,6 +80,7 @@ public: |
239 | HostBinariesPath, | 239 | HostBinariesPath, |
240 | HostLibrariesPath, | 240 | HostLibrariesPath, |
241 | HostDataPath, | 241 | HostDataPath, |
@@ -279,10 +279,10 @@ index 99d87e2..5621dc0 100644 | |||
279 | _qt5_Widgets_check_file_exists(${imported_location}) | 279 | _qt5_Widgets_check_file_exists(${imported_location}) |
280 | 280 | ||
281 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp | 281 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp |
282 | index b756509..7e61845 100644 | 282 | index ef71097..7969132 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 | @@ -1213,6 +1213,13 @@ void Configure::parseCmdLine() | 285 | @@ -1191,6 +1191,13 @@ void Configure::parseCmdLine() |
286 | dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i); | 286 | dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i); |
287 | } | 287 | } |
288 | 288 | ||
@@ -296,7 +296,7 @@ index b756509..7e61845 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 | @@ -3983,6 +3990,7 @@ void Configure::generateQConfigCpp() | 299 | @@ -3984,6 +3991,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 |
@@ -305,5 +305,5 @@ index b756509..7e61845 100644 | |||
305 | << " \"qt_hostspec=" << hostSpec << "\"," << endl | 305 | << " \"qt_hostspec=" << hostSpec << "\"," << endl |
306 | << "#endif" << endl | 306 | << "#endif" << endl |
307 | -- | 307 | -- |
308 | 2.0.1 | 308 | 2.1.1 |
309 | 309 | ||
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 78fb3c66..b7e515a4 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,7 +1,7 @@ | |||
1 | From 8a14a69d5b0078554ed002e682c72e995b1e6320 Mon Sep 17 00:00:00 2001 | 1 | From 73d7d25b8a424eecef197de60a3a504e163f0816 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 27 Apr 2013 22:33:33 +0200 | 3 | Date: Sat, 27 Apr 2013 22:33:33 +0200 |
4 | Subject: [PATCH 04/12] configureapp: Prefix default LIBDIRS and INCDIRS with | 4 | Subject: [PATCH 04/11] configureapp: Prefix default LIBDIRS and INCDIRS with |
5 | SYSROOT | 5 | SYSROOT |
6 | 6 | ||
7 | Upstream-Status: Pending | 7 | Upstream-Status: Pending |
@@ -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 | ||
13 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp | 13 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp |
14 | index 7e61845..29c6358 100644 | 14 | index 7969132..439dcfb 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 | @@ -3370,8 +3370,8 @@ void Configure::generateQConfigPri() | 17 | @@ -3373,8 +3373,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 |
@@ -26,5 +26,5 @@ index 7e61845..29c6358 100644 | |||
26 | configStream << "}" << endl; | 26 | configStream << "}" << endl; |
27 | configStream << "QT_CONFIG += " << qtConfig.join(' ') << endl; | 27 | configStream << "QT_CONFIG += " << qtConfig.join(' ') << endl; |
28 | -- | 28 | -- |
29 | 2.0.0 | 29 | 2.1.1 |
30 | 30 | ||
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 182de79d..d1ec16ce 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,7 +1,7 @@ | |||
1 | From 1e87c127c5d268870c51894c955bf24cde83ff69 Mon Sep 17 00:00:00 2001 | 1 | From fcbe3eefa24348cbf98ca9fc9e137ac6ccaf1f87 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 | 3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 |
4 | Subject: [PATCH 05/12] qt_module: Fix pkgconfig and libtool replacements | 4 | Subject: [PATCH 05/11] qt_module: Fix pkgconfig and libtool replacements |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -67,7 +67,7 @@ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | |||
67 | 2 files changed, 16 insertions(+), 1 deletion(-) | 67 | 2 files changed, 16 insertions(+), 1 deletion(-) |
68 | 68 | ||
69 | diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf | 69 | diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf |
70 | index 4dcabe9..d04bc3e 100644 | 70 | index ebc5f00..46319d8 100644 |
71 | --- a/mkspecs/features/qt_common.prf | 71 | --- a/mkspecs/features/qt_common.prf |
72 | +++ b/mkspecs/features/qt_common.prf | 72 | +++ b/mkspecs/features/qt_common.prf |
73 | @@ -33,7 +33,7 @@ contains(TEMPLATE, .*lib) { | 73 | @@ -33,7 +33,7 @@ contains(TEMPLATE, .*lib) { |
@@ -80,7 +80,7 @@ index 4dcabe9..d04bc3e 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 |
82 | diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf | 82 | diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf |
83 | index 8bf4c92..ee2e989 100644 | 83 | index 6ab8267..2b4943c 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 | @@ -188,10 +188,25 @@ unix|mingw { |
@@ -110,5 +110,5 @@ index 8bf4c92..ee2e989 100644 | |||
110 | } | 110 | } |
111 | 111 | ||
112 | -- | 112 | -- |
113 | 2.0.0 | 113 | 2.1.1 |
114 | 114 | ||
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 0e3bc99e..13248024 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,19 +1,57 @@ | |||
1 | From ca212fd10a95b2c694f3c89c3f22a2b0ae185198 Mon Sep 17 00:00:00 2001 | 1 | From 285b31f709a81b7e51b5c3d96061fa731cdfdf7d Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Mon, 21 Apr 2014 19:22:04 +0200 | 3 | Date: Mon, 21 Apr 2014 19:22:04 +0200 |
4 | Subject: [PATCH 06/12] Revert "eglfs: Print the chosen config in debug mode" | 4 | Subject: [PATCH 06/11] Revert "eglfs: Print the chosen config in debug mode" |
5 | |||
6 | With this change the build is failing with: | ||
7 | | In file included from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/eglplatform.h:118:0, | ||
8 | | from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/egl.h:36, | ||
9 | | from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformcontext_p.h:51, | ||
10 | | from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:34: | ||
11 | | ../../include/QtCore/../../../git/src/corelib/io/qtextstream.h:72:10: error: expected identifier before 'int' | ||
12 | | enum Status { | ||
13 | | ^ | ||
14 | | In file included from ../../include/QtCore/qtextstream.h:1:0, | ||
15 | | from ../../include/QtCore/../../../git/src/corelib/io/qdebug.h:42, | ||
16 | | from ../../include/QtCore/qdebug.h:1, | ||
17 | | from ../../include/QtCore/QDebug:1, | ||
18 | | from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:40: | ||
19 | | ../../include/QtCore/../../../git/src/corelib/io/qtextstream.h:72:17: error: expected unqualified-id before '{' token | ||
20 | | enum Status { | ||
21 | | ^ | ||
22 | | Makefile:3896: recipe for target '.obj/qeglplatformcontext.o' failed | ||
23 | | make[2]: *** [.obj/qeglplatformcontext.o] Error 1 | ||
24 | | make[2]: *** Waiting for unfinished jobs.... | ||
25 | | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp:196:5: error: 'Display' redeclared as different kind of symbol | ||
26 | | Display | ||
27 | | ^ | ||
28 | | In file included from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/eglplatform.h:118:0, | ||
29 | | from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/egl.h:36, | ||
30 | | from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration_p.h:51, | ||
31 | | from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp:55: | ||
32 | | /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/X11/Xlib.h:499:26: note: previous declaration 'typedef struct _XDisplay Display' | ||
33 | | typedef struct _XDisplay Display; | ||
34 | | ^ | ||
35 | | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp: In member function 'virtual void* QEGLPlatformIntegration::nativeResourceForScreen(const QByteArray&, QScreen*)': | ||
36 | | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp:239:17: error: expected primary-expression before ':' token | ||
37 | | case Display: | ||
38 | | ^ | ||
39 | | Makefile:5486: recipe for target '.obj/qeglplatformintegration.o' failed | ||
5 | 40 | ||
6 | This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e. | 41 | This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e. |
42 | |||
43 | Change-Id: I7a6a926b7525d4f137824c71f2ec8cd089c21f13 | ||
7 | --- | 44 | --- |
8 | src/platformsupport/eglconvenience/qeglconvenience.cpp | 4 +++- | 45 | src/platformsupport/eglconvenience/qeglconvenience.cpp | 4 +++- |
9 | src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 7 ------- | 46 | src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 7 ------- |
10 | 2 files changed, 3 insertions(+), 8 deletions(-) | 47 | src/platformsupport/eglconvenience/qeglplatformintegration.cpp | 4 ++-- |
48 | 3 files changed, 5 insertions(+), 10 deletions(-) | ||
11 | 49 | ||
12 | diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp | 50 | diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp |
13 | index 5eed470..39c7c1f 100644 | 51 | index b7ce6df..e8c1925 100644 |
14 | --- a/src/platformsupport/eglconvenience/qeglconvenience.cpp | 52 | --- a/src/platformsupport/eglconvenience/qeglconvenience.cpp |
15 | +++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp | 53 | +++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp |
16 | @@ -451,9 +451,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config) | 54 | @@ -443,9 +443,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config) |
17 | for (index = 0; attrs[index].attr != -1; ++index) { | 55 | for (index = 0; attrs[index].attr != -1; ++index) { |
18 | EGLint value; | 56 | EGLint value; |
19 | if (eglGetConfigAttrib(display, config, attrs[index].attr, &value)) { | 57 | if (eglGetConfigAttrib(display, config, attrs[index].attr, &value)) { |
@@ -27,18 +65,18 @@ index 5eed470..39c7c1f 100644 | |||
27 | 65 | ||
28 | #ifdef Q_OS_LINUX | 66 | #ifdef Q_OS_LINUX |
29 | diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 67 | diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp |
30 | index eec6463..4a7c69b 100644 | 68 | index 7cc3300..ccbd974 100644 |
31 | --- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 69 | --- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp |
32 | +++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 70 | +++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp |
33 | @@ -44,7 +44,6 @@ | 71 | @@ -37,7 +37,6 @@ |
34 | #include "qeglpbuffer_p.h" | ||
35 | #include <qpa/qplatformwindow.h> | 72 | #include <qpa/qplatformwindow.h> |
36 | #include <QOpenGLContext> | 73 | #include <QOpenGLContext> |
74 | #include <QtPlatformHeaders/QEGLNativeContext> | ||
37 | -#include <QDebug> | 75 | -#include <QDebug> |
38 | 76 | ||
39 | QT_BEGIN_NAMESPACE | 77 | QT_BEGIN_NAMESPACE |
40 | 78 | ||
41 | @@ -192,12 +191,6 @@ void QEGLPlatformContext::init(const QSurfaceFormat &format, QPlatformOpenGLCont | 79 | @@ -181,12 +180,6 @@ void QEGLPlatformContext::init(const QSurfaceFormat &format, QPlatformOpenGLCont |
42 | return; | 80 | return; |
43 | } | 81 | } |
44 | 82 | ||
@@ -48,9 +86,31 @@ index eec6463..4a7c69b 100644 | |||
48 | - q_printEglConfig(m_eglDisplay, m_eglConfig); | 86 | - q_printEglConfig(m_eglDisplay, m_eglConfig); |
49 | - } | 87 | - } |
50 | - | 88 | - |
51 | #ifndef QT_NO_OPENGL | 89 | updateFormatFromGL(); |
52 | // Make the context current to ensure the GL version query works. This needs a surface too. | 90 | } |
53 | const EGLint pbufferAttributes[] = { | 91 | |
92 | diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp | ||
93 | index 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()); | ||
54 | -- | 114 | -- |
55 | 2.0.0 | 115 | 2.1.1 |
56 | 116 | ||
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 1f029a28..8f469103 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,7 +1,7 @@ | |||
1 | From 3d61189d1706d3367eada4e7db6f2c6c167130ce Mon Sep 17 00:00:00 2001 | 1 | From 9563ef306503f2503a09aadce63020b3048a185d Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Wed, 19 Mar 2014 18:32:28 +0100 | 3 | Date: Wed, 19 Mar 2014 18:32:28 +0100 |
4 | Subject: [PATCH 07/12] qeglplatformintegration: Undefine CursorShape from X.h | 4 | Subject: [PATCH 07/11] qeglplatformintegration: Undefine CursorShape from X.h |
5 | 5 | ||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
7 | --- | 7 | --- |
@@ -9,11 +9,11 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
9 | 1 file changed, 6 insertions(+) | 9 | 1 file changed, 6 insertions(+) |
10 | 10 | ||
11 | diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | 11 | diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h |
12 | index f665455..9eb783c 100644 | 12 | index 4d7adce..c9b6873 100644 |
13 | --- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | 13 | --- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h |
14 | +++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | 14 | +++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h |
15 | @@ -46,6 +46,12 @@ | 15 | @@ -50,6 +50,12 @@ |
16 | #include <qpa/qplatformnativeinterface.h> | 16 | #include <QtCore/QVariant> |
17 | #include <EGL/egl.h> | 17 | #include <EGL/egl.h> |
18 | 18 | ||
19 | +// Undefine CursorShape from X.h, which is causing breakage in Qt::CursorShape in platformsupport/eglconvenience/ | 19 | +// Undefine CursorShape from X.h, which is causing breakage in Qt::CursorShape in platformsupport/eglconvenience/ |
@@ -26,5 +26,5 @@ index f665455..9eb783c 100644 | |||
26 | 26 | ||
27 | class QEGLPlatformScreen; | 27 | class QEGLPlatformScreen; |
28 | -- | 28 | -- |
29 | 2.0.0 | 29 | 2.1.1 |
30 | 30 | ||
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 b1c4690b..afe9b743 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,7 +1,7 @@ | |||
1 | From 107fe67947ced65315550e6a7795be24efaab371 Mon Sep 17 00:00:00 2001 | 1 | From 33d46bd0229ff9635c14724231eb95f556afd5c2 Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Mon, 11 Nov 2013 20:27:30 -0500 | 3 | Date: Mon, 11 Nov 2013 20:27:30 -0500 |
4 | Subject: [PATCH 08/12] configure: bump path length from 256 to 512 characters | 4 | Subject: [PATCH 08/11] configure: bump path length from 256 to 512 characters |
5 | 5 | ||
6 | Increase the path length that gets hardcoded into generated config.cpp file | 6 | Increase the path length that gets hardcoded into generated config.cpp file |
7 | from 256 to 512 characters, as nativesdk path can be quite long. | 7 | from 256 to 512 characters, as nativesdk path can be quite long. |
@@ -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 | ||
14 | diff --git a/configure b/configure | 14 | diff --git a/configure b/configure |
15 | index 48d5119..3c0347a 100755 | 15 | index dcd1790..fe6bed4 100755 |
16 | --- a/configure | 16 | --- a/configure |
17 | +++ b/configure | 17 | +++ b/configure |
18 | @@ -3573,7 +3573,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ | 18 | @@ -3587,7 +3587,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 */ |
@@ -25,5 +25,5 @@ index 48d5119..3c0347a 100755 | |||
25 | "qt_prfxpath=$QT_SYSROOT_PREFIX", | 25 | "qt_prfxpath=$QT_SYSROOT_PREFIX", |
26 | "qt_docspath=$QT_SYSROOT_DOCS", | 26 | "qt_docspath=$QT_SYSROOT_DOCS", |
27 | -- | 27 | -- |
28 | 2.0.0 | 28 | 2.1.1 |
29 | 29 | ||
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 cbd0bcd8..de3e2d68 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,7 +1,7 @@ | |||
1 | From b8f2fdcd7683058554b5d76b270c5f4bb3d0b91a Mon Sep 17 00:00:00 2001 | 1 | From 5d088522706a3533800e51c011c93d3d2ea58a4d Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> |
3 | Date: Wed, 5 Feb 2014 18:35:08 +0100 | 3 | Date: Wed, 5 Feb 2014 18:35:08 +0100 |
4 | Subject: [PATCH 09/12] eglfs: fix egl error for platforms only supporting one | 4 | Subject: [PATCH 09/11] eglfs: fix egl error for platforms only supporting one |
5 | window/surface | 5 | window/surface |
6 | MIME-Version: 1.0 | 6 | MIME-Version: 1.0 |
7 | Content-Type: text/plain; charset=UTF-8 | 7 | Content-Type: text/plain; charset=UTF-8 |
@@ -27,10 +27,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
27 | 1 file changed, 15 insertions(+), 1 deletion(-) | 27 | 1 file changed, 15 insertions(+), 1 deletion(-) |
28 | 28 | ||
29 | diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp | 29 | diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp |
30 | index 2d36c0b..854531e 100644 | 30 | index c83b894..b937881 100644 |
31 | --- a/src/plugins/platforms/eglfs/qeglfswindow.cpp | 31 | --- a/src/plugins/platforms/eglfs/qeglfswindow.cpp |
32 | +++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp | 32 | +++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp |
33 | @@ -74,6 +74,15 @@ void QEglFSWindow::create() | 33 | @@ -66,6 +66,15 @@ void QEglFSWindow::create() |
34 | 34 | ||
35 | m_flags = Created; | 35 | m_flags = Created; |
36 | 36 | ||
@@ -46,16 +46,16 @@ index 2d36c0b..854531e 100644 | |||
46 | if (window()->type() == Qt::Desktop) | 46 | if (window()->type() == Qt::Desktop) |
47 | return; | 47 | return; |
48 | 48 | ||
49 | @@ -85,7 +94,7 @@ void QEglFSWindow::create() | 49 | @@ -79,7 +88,7 @@ void QEglFSWindow::create() |
50 | if (isRaster() && screen->compositingWindow()) | ||
51 | return; | 50 | return; |
51 | } | ||
52 | 52 | ||
53 | -#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) | 53 | -#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) |
54 | +#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) || defined(EGL_API_FB) | 54 | +#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) || defined(EGL_API_FB) |
55 | // We can have either a single OpenGL window or multiple raster windows. | 55 | // We can have either a single OpenGL window or multiple raster windows. |
56 | // Other combinations cannot work. | 56 | // Other combinations cannot work. |
57 | qFatal("EGLFS: OpenGL windows cannot be mixed with others."); | 57 | qFatal("EGLFS: OpenGL windows cannot be mixed with others."); |
58 | @@ -105,6 +114,11 @@ void QEglFSWindow::create() | 58 | @@ -99,6 +108,11 @@ void QEglFSWindow::create() |
59 | 59 | ||
60 | resetSurface(); | 60 | resetSurface(); |
61 | 61 | ||
@@ -68,5 +68,5 @@ index 2d36c0b..854531e 100644 | |||
68 | 68 | ||
69 | if (isRaster()) { | 69 | if (isRaster()) { |
70 | -- | 70 | -- |
71 | 2.0.0 | 71 | 2.1.1 |
72 | 72 | ||
diff --git a/recipes-qt/qt5/qtbase-git/0011-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase-git/0010-QOpenGLPaintDevice-sub-area-support.patch index 27496db6..db979bd4 100644 --- a/recipes-qt/qt5/qtbase-git/0011-QOpenGLPaintDevice-sub-area-support.patch +++ b/recipes-qt/qt5/qtbase-git/0010-QOpenGLPaintDevice-sub-area-support.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 606dc31c85d97dff52b07ec9c896718c6533f670 Mon Sep 17 00:00:00 2001 | 1 | From 709c35b889e46f2b1bc36d88c732f1b440e6c236 Mon Sep 17 00:00:00 2001 |
2 | From: Jani Hautakangas <jani.hautakangas@ixonos.com> | 2 | From: Jani Hautakangas <jani.hautakangas@ixonos.com> |
3 | Date: Thu, 16 May 2013 09:52:07 +0300 | 3 | Date: Thu, 16 May 2013 09:52:07 +0300 |
4 | Subject: [PATCH 11/11] QOpenGLPaintDevice sub-area support | 4 | Subject: [PATCH 10/11] QOpenGLPaintDevice sub-area support |
5 | 5 | ||
6 | Allows creating QOpenGLPaintDevice targetting sub-area | 6 | Allows creating QOpenGLPaintDevice targetting sub-area |
7 | of binded framebuffer. | 7 | of binded framebuffer. |
@@ -20,10 +20,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
20 | 5 files changed, 23 insertions(+), 3 deletions(-) | 20 | 5 files changed, 23 insertions(+), 3 deletions(-) |
21 | 21 | ||
22 | diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp | 22 | diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp |
23 | index 6750458..034630a 100644 | 23 | index 59bca6e..ea0ee88 100644 |
24 | --- a/src/gui/opengl/qopenglpaintdevice.cpp | 24 | --- a/src/gui/opengl/qopenglpaintdevice.cpp |
25 | +++ b/src/gui/opengl/qopenglpaintdevice.cpp | 25 | +++ b/src/gui/opengl/qopenglpaintdevice.cpp |
26 | @@ -111,6 +111,7 @@ class QOpenGLPaintDevicePrivate | 26 | @@ -103,6 +103,7 @@ class QOpenGLPaintDevicePrivate |
27 | public: | 27 | public: |
28 | QOpenGLPaintDevicePrivate(const QSize &size); | 28 | QOpenGLPaintDevicePrivate(const QSize &size); |
29 | 29 | ||
@@ -31,7 +31,7 @@ index 6750458..034630a 100644 | |||
31 | QSize size; | 31 | QSize size; |
32 | QOpenGLContext *ctx; | 32 | QOpenGLContext *ctx; |
33 | 33 | ||
34 | @@ -159,6 +160,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height) | 34 | @@ -151,6 +152,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height) |
35 | { | 35 | { |
36 | } | 36 | } |
37 | 37 | ||
@@ -44,7 +44,7 @@ index 6750458..034630a 100644 | |||
44 | /*! | 44 | /*! |
45 | Destroys the QOpenGLPaintDevice. | 45 | Destroys the QOpenGLPaintDevice. |
46 | */ | 46 | */ |
47 | @@ -228,6 +235,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const | 47 | @@ -220,6 +227,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const |
48 | return d_ptr->ctx; | 48 | return d_ptr->ctx; |
49 | } | 49 | } |
50 | 50 | ||
@@ -57,10 +57,10 @@ index 6750458..034630a 100644 | |||
57 | Returns the pixel size of the paint device. | 57 | Returns the pixel size of the paint device. |
58 | 58 | ||
59 | diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h | 59 | diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h |
60 | index c05571c..01eb1bc 100644 | 60 | index e1be9b5..1a3ddbc 100644 |
61 | --- a/src/gui/opengl/qopenglpaintdevice.h | 61 | --- a/src/gui/opengl/qopenglpaintdevice.h |
62 | +++ b/src/gui/opengl/qopenglpaintdevice.h | 62 | +++ b/src/gui/opengl/qopenglpaintdevice.h |
63 | @@ -62,12 +62,14 @@ public: | 63 | @@ -54,12 +54,14 @@ public: |
64 | QOpenGLPaintDevice(); | 64 | QOpenGLPaintDevice(); |
65 | explicit QOpenGLPaintDevice(const QSize &size); | 65 | explicit QOpenGLPaintDevice(const QSize &size); |
66 | QOpenGLPaintDevice(int width, int height); | 66 | QOpenGLPaintDevice(int width, int height); |
@@ -76,10 +76,10 @@ index c05571c..01eb1bc 100644 | |||
76 | void setSize(const QSize &size); | 76 | void setSize(const QSize &size); |
77 | void setDevicePixelRatio(qreal devicePixelRatio); | 77 | void setDevicePixelRatio(qreal devicePixelRatio); |
78 | diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp | 78 | diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp |
79 | index 81a0d82..ce57261 100644 | 79 | index 21bc4a9..ce008a4 100644 |
80 | --- a/src/gui/opengl/qopenglpaintengine.cpp | 80 | --- a/src/gui/opengl/qopenglpaintengine.cpp |
81 | +++ b/src/gui/opengl/qopenglpaintengine.cpp | 81 | +++ b/src/gui/opengl/qopenglpaintengine.cpp |
82 | @@ -1985,7 +1985,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) | 82 | @@ -1999,7 +1999,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) |
83 | for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) | 83 | for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) |
84 | d->vertexAttributeArraysEnabledState[i] = false; | 84 | d->vertexAttributeArraysEnabledState[i] = false; |
85 | 85 | ||
@@ -90,7 +90,7 @@ index 81a0d82..ce57261 100644 | |||
90 | d->width = sz.width(); | 90 | d->width = sz.width(); |
91 | d->height = sz.height(); | 91 | d->height = sz.height(); |
92 | d->mode = BrushDrawingMode; | 92 | d->mode = BrushDrawingMode; |
93 | @@ -2070,7 +2073,7 @@ void QOpenGL2PaintEngineEx::ensureActive() | 93 | @@ -2084,7 +2087,7 @@ void QOpenGL2PaintEngineEx::ensureActive() |
94 | d->device->ensureActiveTarget(); | 94 | d->device->ensureActiveTarget(); |
95 | 95 | ||
96 | d->transferMode(BrushDrawingMode); | 96 | d->transferMode(BrushDrawingMode); |
@@ -99,7 +99,7 @@ index 81a0d82..ce57261 100644 | |||
99 | d->needsSync = false; | 99 | d->needsSync = false; |
100 | d->lastMaskTextureUsed = 0; | 100 | d->lastMaskTextureUsed = 0; |
101 | d->shaderManager->setDirty(); | 101 | d->shaderManager->setDirty(); |
102 | @@ -2113,6 +2116,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() | 102 | @@ -2127,6 +2130,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() |
103 | if (bounds == QRect(0, 0, width, height)) { | 103 | if (bounds == QRect(0, 0, width, height)) { |
104 | funcs.glDisable(GL_SCISSOR_TEST); | 104 | funcs.glDisable(GL_SCISSOR_TEST); |
105 | } else { | 105 | } else { |
@@ -107,7 +107,7 @@ index 81a0d82..ce57261 100644 | |||
107 | funcs.glEnable(GL_SCISSOR_TEST); | 107 | funcs.glEnable(GL_SCISSOR_TEST); |
108 | setScissor(bounds); | 108 | setScissor(bounds); |
109 | } | 109 | } |
110 | @@ -2121,12 +2125,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() | 110 | @@ -2135,12 +2139,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() |
111 | 111 | ||
112 | void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) | 112 | void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) |
113 | { | 113 | { |
@@ -123,10 +123,10 @@ index 81a0d82..ce57261 100644 | |||
123 | 123 | ||
124 | funcs.glScissor(left, bottom, width, height); | 124 | funcs.glScissor(left, bottom, width, height); |
125 | diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h | 125 | diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h |
126 | index 4f0e2e5..f211de1 100644 | 126 | index 5ef0366..c5b517d 100644 |
127 | --- a/src/gui/opengl/qopenglpaintengine_p.h | 127 | --- a/src/gui/opengl/qopenglpaintengine_p.h |
128 | +++ b/src/gui/opengl/qopenglpaintengine_p.h | 128 | +++ b/src/gui/opengl/qopenglpaintengine_p.h |
129 | @@ -264,6 +264,7 @@ public: | 129 | @@ -256,6 +256,7 @@ public: |
130 | QOpenGL2PaintEngineEx* q; | 130 | QOpenGL2PaintEngineEx* q; |
131 | QOpenGLEngineShaderManager* shaderManager; | 131 | QOpenGLEngineShaderManager* shaderManager; |
132 | QOpenGLPaintDevice* device; | 132 | QOpenGLPaintDevice* device; |
@@ -135,10 +135,10 @@ index 4f0e2e5..f211de1 100644 | |||
135 | QOpenGLContext *ctx; | 135 | QOpenGLContext *ctx; |
136 | EngineMode mode; | 136 | EngineMode mode; |
137 | diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp | 137 | diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp |
138 | index 0610ab6..ea1e3b2 100644 | 138 | index 6e16b2d..ddec9bb 100644 |
139 | --- a/src/gui/opengl/qopengltextureglyphcache.cpp | 139 | --- a/src/gui/opengl/qopengltextureglyphcache.cpp |
140 | +++ b/src/gui/opengl/qopengltextureglyphcache.cpp | 140 | +++ b/src/gui/opengl/qopengltextureglyphcache.cpp |
141 | @@ -316,7 +316,7 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height) | 141 | @@ -308,7 +308,7 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height) |
142 | funcs->glBindFramebuffer(GL_FRAMEBUFFER, (GLuint)oldFbo); | 142 | funcs->glBindFramebuffer(GL_FRAMEBUFFER, (GLuint)oldFbo); |
143 | 143 | ||
144 | if (pex != 0) { | 144 | if (pex != 0) { |
@@ -148,5 +148,5 @@ index 0610ab6..ea1e3b2 100644 | |||
148 | } else { | 148 | } else { |
149 | if (m_vao.isCreated()) { | 149 | if (m_vao.isCreated()) { |
150 | -- | 150 | -- |
151 | 2.0.2 | 151 | 2.1.1 |
152 | 152 | ||
diff --git a/recipes-qt/qt5/qtbase-git/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch b/recipes-qt/qt5/qtbase-git/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch deleted file mode 100644 index da05f28f..00000000 --- a/recipes-qt/qt5/qtbase-git/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 8d8db9db8518289f4c1856dd3062c2e324c5c9be Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 4 Jun 2014 15:26:11 +0200 | ||
4 | Subject: [PATCH 10/12] Revert "Use the "gcc" feature in simd.prf" | ||
5 | |||
6 | This reverts commit 3b00cc480400d47c59c29d3507c7fcdc9be2a489. | ||
7 | --- | ||
8 | mkspecs/features/simd.prf | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/mkspecs/features/simd.prf b/mkspecs/features/simd.prf | ||
12 | index 62a63f9..4f86f60 100644 | ||
13 | --- a/mkspecs/features/simd.prf | ||
14 | +++ b/mkspecs/features/simd.prf | ||
15 | @@ -18,7 +18,7 @@ QT_CPU_FEATURES = $$eval(QT_CPU_FEATURES.$$QT_ARCH) | ||
16 | # | ||
17 | # Set up compilers for SIMD (SSE/AVX, NEON etc) | ||
18 | # | ||
19 | -gcc { # includes intel_icc and clang variants | ||
20 | +*-g++*|intel_icc|*-clang*|*-qcc* { | ||
21 | sse2 { | ||
22 | HEADERS += $$SSE2_HEADERS | ||
23 | |||
24 | -- | ||
25 | 2.0.0 | ||
26 | |||
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 a1af18e1..9bd001b4 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 @@ | |||
1 | From 271db04ebfbaf67e2e8c30ff050510c5a42acfa4 Mon Sep 17 00:00:00 2001 | 1 | From 2dd5a897d7e2f073b4223595a7bf214d3481b68a Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 | 3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 |
4 | Subject: [PATCH 11/12] Always build uic | 4 | Subject: [PATCH 11/12] Always build uic |
@@ -14,10 +14,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/src/src.pro b/src/src.pro | 16 | diff --git a/src/src.pro b/src/src.pro |
17 | index 6a805a6..90623a6 100644 | 17 | index ab93641..a48606b 100644 |
18 | --- a/src/src.pro | 18 | --- a/src/src.pro |
19 | +++ b/src/src.pro | 19 | +++ b/src/src.pro |
20 | @@ -158,7 +158,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent | 20 | @@ -161,7 +161,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent |
21 | } | 21 | } |
22 | } | 22 | } |
23 | } | 23 | } |
@@ -27,5 +27,5 @@ index 6a805a6..90623a6 100644 | |||
27 | nacl: SUBDIRS -= src_network src_testlib | 27 | nacl: SUBDIRS -= src_network src_testlib |
28 | 28 | ||
29 | -- | 29 | -- |
30 | 2.0.0 | 30 | 2.1.1 |
31 | 31 | ||
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 820fb21a..e39693ff 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 @@ | |||
1 | From ac507c953112630d7e929be35586e97396b76327 Mon Sep 17 00:00:00 2001 | 1 | From 5d6e6b18d2049bad370c594e5ab30fd85c0ed047 Mon Sep 17 00:00:00 2001 |
2 | From: Michael Krelin <hacker@klever.net> | 2 | From: Michael Krelin <hacker@klever.net> |
3 | Date: Mon, 29 Oct 2012 20:07:49 -0700 | 3 | Date: Mon, 29 Oct 2012 20:07:49 -0700 |
4 | Subject: [PATCH 11/11] qmake: don't build it in configure, but allow to build | 4 | Subject: [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 | ||
22 | diff --git a/configure b/configure | 22 | diff --git a/configure b/configure |
23 | index 3c0347a..a75ca11 100755 | 23 | index fe6bed4..9628be2 100755 |
24 | --- a/configure | 24 | --- a/configure |
25 | +++ b/configure | 25 | +++ b/configure |
26 | @@ -3675,7 +3675,7 @@ setBootstrapEvalVariable() | 26 | @@ -3689,7 +3689,7 @@ setBootstrapEvalVariable() |
27 | 27 | ||
28 | 28 | ||
29 | # build qmake | 29 | # build qmake |
@@ -46,5 +46,5 @@ index 89d6ea5..7c605b9 100644 | |||
46 | VPATH += \ | 46 | VPATH += \ |
47 | ../src/corelib/global \ | 47 | ../src/corelib/global \ |
48 | -- | 48 | -- |
49 | 2.0.0 | 49 | 2.1.1 |
50 | 50 | ||
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 81b05f3d..c9941206 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 @@ | |||
1 | From 11bd34bfe629767ec32a36593386ef0655e86f24 Mon Sep 17 00:00:00 2001 | 1 | From f1b4d7d4c96b6ded9bd312f6db2ba735feb001c0 Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Mon, 11 Nov 2013 20:22:34 -0500 | 3 | Date: Mon, 11 Nov 2013 20:22:34 -0500 |
4 | Subject: [PATCH 12/12] configure: preserve built qmake and swap with native | 4 | Subject: [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 | ||
15 | diff --git a/configure b/configure | 15 | diff --git a/configure b/configure |
16 | index 3c0347a..c51f785 100755 | 16 | index fe6bed4..ea661a3 100755 |
17 | --- a/configure | 17 | --- a/configure |
18 | +++ b/configure | 18 | +++ b/configure |
19 | @@ -3825,6 +3825,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | 19 | @@ -3839,6 +3839,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 |
@@ -26,5 +26,5 @@ index 3c0347a..c51f785 100755 | |||
26 | echo "Running configuration tests..." | 26 | echo "Running configuration tests..." |
27 | 27 | ||
28 | -- | 28 | -- |
29 | 2.0.0 | 29 | 2.1.1 |
30 | 30 | ||