summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase.inc13
-rw-r--r--recipes-qt/qt5/qtbase-native.inc15
-rw-r--r--recipes-qt/qt5/qtbase.inc17
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch18
-rw-r--r--recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch10
-rw-r--r--recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch40
-rw-r--r--recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch12
-rw-r--r--recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-replacement.patch6
-rw-r--r--recipes-qt/qt5/qtbase/0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch8
-rw-r--r--recipes-qt/qt5/qtbase/0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch12
-rw-r--r--recipes-qt/qt5/qtbase/0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch10
-rw-r--r--recipes-qt/qt5/qtbase/0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch8
-rw-r--r--recipes-qt/qt5/qtbase/0010-Fix-missing-plugin_types.patch (renamed from recipes-qt/qt5/qtbase/0015-Fix-missing-plugin_types.patch)6
-rw-r--r--recipes-qt/qt5/qtbase/0011-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch (renamed from recipes-qt/qt5/qtbase/0016-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch)8
-rw-r--r--recipes-qt/qt5/qtbase/0012-qeglplatformintegration-Undefine-CursorShape-from-X..patch (renamed from recipes-qt/qt5/qtbase/0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch)4
-rw-r--r--recipes-qt/qt5/qtbase/0013-configure-bump-path-length-from-256-to-512-character.patch (renamed from recipes-qt/qt5/qtbase/0012-configure-bump-path-length-from-256-to-512-character.patch)10
-rw-r--r--recipes-qt/qt5/qtbase/0014-QOpenGLPaintDevice-sub-area-support.patch (renamed from recipes-qt/qt5/qtbase/0013-QOpenGLPaintDevice-sub-area-support.patch)6
-rw-r--r--recipes-qt/qt5/qtbase/0015-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch (renamed from recipes-qt/qt5/qtbase/0014-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch)20
-rw-r--r--recipes-qt/qt5/qtbase/0016-Always-build-uic.patch (renamed from recipes-qt/qt5/qtbase/0010-Always-build-uic.patch)6
-rw-r--r--recipes-qt/qt5/qtbase/0016-qmake-is-already-built-in-qtbase-native.patch (renamed from recipes-qt/qt5/qtbase/0010-qmake-is-already-built-in-qtbase-native.patch)10
-rw-r--r--recipes-qt/qt5/qtbase/0017-Allow-building-a-separate-qmake-for-the-target.patch (renamed from recipes-qt/qt5/qtbase/0011-Allow-building-a-separate-qmake-for-the-target.patch)6
-rw-r--r--recipes-qt/qt5/qtbase/0017-configure-preserve-built-qmake-and-swap-with-native-.patch (renamed from recipes-qt/qt5/qtbase/0011-configure-preserve-built-qmake-and-swap-with-native-.patch)10
22 files changed, 131 insertions, 124 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc
index 62e841c2..5424ce9d 100644
--- a/recipes-qt/qt5/nativesdk-qtbase.inc
+++ b/recipes-qt/qt5/nativesdk-qtbase.inc
@@ -23,19 +23,22 @@ SRC_URI += "\
23 file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \ 23 file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
24 file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \ 24 file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \
25 file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \ 25 file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \
26 file://0015-Fix-missing-plugin_types.patch \ 26 file://0010-Fix-missing-plugin_types.patch \
27 file://0016-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ 27 file://0011-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
28 file://0012-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
29 file://0013-configure-bump-path-length-from-256-to-512-character.patch \
30 file://0014-QOpenGLPaintDevice-sub-area-support.patch \
31 file://0015-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
28" 32"
29 33
30# common with -native 34# common with -native
31SRC_URI += " \ 35SRC_URI += " \
32 file://0010-Always-build-uic.patch \ 36 file://0016-Always-build-uic.patch \
33" 37"
34 38
35# specific for nativesdk version 39# specific for nativesdk version
36SRC_URI += " \ 40SRC_URI += " \
37 file://0011-configure-preserve-built-qmake-and-swap-with-native-.patch \ 41 file://0017-configure-preserve-built-qmake-and-swap-with-native-.patch \
38 file://0012-configure-bump-path-length-from-256-to-512-character.patch \
39" 42"
40 43
41PACKAGES = "${PN}-tools-dbg ${PN}-tools-dev ${PN}-tools-staticdev ${PN}-tools" 44PACKAGES = "${PN}-tools-dbg ${PN}-tools-dev ${PN}-tools-staticdev ${PN}-tools"
diff --git a/recipes-qt/qt5/qtbase-native.inc b/recipes-qt/qt5/qtbase-native.inc
index dc049872..fae78887 100644
--- a/recipes-qt/qt5/qtbase-native.inc
+++ b/recipes-qt/qt5/qtbase-native.inc
@@ -7,8 +7,7 @@ QT_MODULE = "qtbase"
7 7
8require qt5-native.inc 8require qt5-native.inc
9 9
10# common with target version 10# common with nativesdk- and target version
11# common with -native and target version
12SRC_URI += "\ 11SRC_URI += "\
13 file://0001-Add-linux-oe-g-platform.patch \ 12 file://0001-Add-linux-oe-g-platform.patch \
14 file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ 13 file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
@@ -19,13 +18,17 @@ SRC_URI += "\
19 file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \ 18 file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
20 file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \ 19 file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \
21 file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \ 20 file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \
22 file://0015-Fix-missing-plugin_types.patch \ 21 file://0010-Fix-missing-plugin_types.patch \
23 file://0016-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ 22 file://0011-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
23 file://0012-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
24 file://0013-configure-bump-path-length-from-256-to-512-character.patch \
25 file://0014-QOpenGLPaintDevice-sub-area-support.patch \
26 file://0015-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
24" 27"
25 28
26# specific for native version 29# common with nativesdk- version
27SRC_URI += " \ 30SRC_URI += " \
28 file://0010-Always-build-uic.patch \ 31 file://0016-Always-build-uic.patch \
29" 32"
30 33
31QT_CONF_PATH = "${B}/qt.conf" 34QT_CONF_PATH = "${B}/qt.conf"
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index 726576c7..c4d1b840 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -1,6 +1,6 @@
1require qt5.inc 1require qt5.inc
2 2
3# common with -native 3# common with qtbase-native and nativesdk-qtbase
4SRC_URI += "\ 4SRC_URI += "\
5 file://0001-Add-linux-oe-g-platform.patch \ 5 file://0001-Add-linux-oe-g-platform.patch \
6 file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ 6 file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
@@ -11,16 +11,17 @@ SRC_URI += "\
11 file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \ 11 file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
12 file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \ 12 file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \
13 file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \ 13 file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \
14 file://0015-Fix-missing-plugin_types.patch \ 14 file://0010-Fix-missing-plugin_types.patch \
15 file://0016-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ 15 file://0011-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
16 file://0012-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
17 file://0013-configure-bump-path-length-from-256-to-512-character.patch \
18 file://0014-QOpenGLPaintDevice-sub-area-support.patch \
19 file://0015-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
16" 20"
17 21
18SRC_URI += "\ 22SRC_URI += "\
19 file://0010-qmake-is-already-built-in-qtbase-native.patch \ 23 file://0016-qmake-is-already-built-in-qtbase-native.patch \
20 file://0011-Allow-building-a-separate-qmake-for-the-target.patch \ 24 file://0017-Allow-building-a-separate-qmake-for-the-target.patch \
21 file://0013-QOpenGLPaintDevice-sub-area-support.patch \
22 file://0014-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
23 file://0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
24" 25"
25 26
26DEPENDS += "qtbase-native" 27DEPENDS += "qtbase-native"
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
index 5ce4cdd1..cddd6210 100644
--- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
@@ -1,7 +1,7 @@
1From f883ec8652ee603d9bb9def7eb669ed82c493961 Mon Sep 17 00:00:00 2001 1From 2c2e479049c49539049db7e53d500e673285025f 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/14] Add linux-oe-g++ platform 4Subject: [PATCH 01/17] 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
@@ -41,7 +41,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
41 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h 41 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
42 42
43diff --git a/configure b/configure 43diff --git a/configure b/configure
44index aaa59bd..0e74f29 100755 44index 601d84a..eaa4092 100755
45--- a/configure 45--- a/configure
46+++ b/configure 46+++ b/configure
47@@ -324,6 +324,16 @@ getQMakeConf() 47@@ -324,6 +324,16 @@ getQMakeConf()
@@ -97,8 +97,8 @@ index aaa59bd..0e74f29 100755
97 SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS" 97 SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS"
98 for varname in $SYSTEM_VARIABLES; do 98 for varname in $SYSTEM_VARIABLES; do
99 qmakevarname="${varname}" 99 qmakevarname="${varname}"
100@@ -3362,7 +3394,7 @@ if [ "$XPLATFORM_MAC" = "yes" ] && [ "$CFG_QGTKSTYLE" = "auto" ]; then 100@@ -3117,7 +3149,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then
101 CFG_QGTKSTYLE=no 101 [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no
102 fi 102 fi
103 103
104-QMAKE_CONF_COMPILER=`getXQMakeConf QMAKE_CXX` 104-QMAKE_CONF_COMPILER=`getXQMakeConf QMAKE_CXX`
@@ -106,7 +106,7 @@ index aaa59bd..0e74f29 100755
106 106
107 TEST_COMPILER=$QMAKE_CONF_COMPILER 107 TEST_COMPILER=$QMAKE_CONF_COMPILER
108 108
109@@ -3397,7 +3429,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then 109@@ -3152,7 +3184,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then
110 exit 1 110 exit 1
111 fi 111 fi
112 fi 112 fi
@@ -115,7 +115,7 @@ index aaa59bd..0e74f29 100755
115 115
116 GCC_MACHINE_DUMP= 116 GCC_MACHINE_DUMP=
117 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac 117 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac
118@@ -3878,6 +3910,14 @@ setBootstrapVariable() 118@@ -3617,6 +3649,14 @@ setBootstrapVariable()
119 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile" 119 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
120 } 120 }
121 121
@@ -130,7 +130,7 @@ index aaa59bd..0e74f29 100755
130 # build qmake 130 # build qmake
131 if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 131 if true; then ###[ '!' -f "$outpath/bin/qmake" ];
132 echo "Creating qmake..." 132 echo "Creating qmake..."
133@@ -3916,11 +3956,11 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 133@@ -3655,11 +3695,11 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
134 fi 134 fi
135 135
136 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM= 136 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
@@ -300,5 +300,5 @@ index 0000000..dd12003
300+ 300+
301+#endif // QPLATFORMDEFS_H 301+#endif // QPLATFORMDEFS_H
302-- 302--
3031.8.5.3 3032.0.0
304 304
diff --git a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
index 2f72dca5..14f0fc7d 100644
--- a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
+++ b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
@@ -1,7 +1,7 @@
1From 841d1f06f3fd2f59f6b18067b02d5fcfc93aaa7a Mon Sep 17 00:00:00 2001 1From c45a30d1301f85e49eef66c06cccf2a16741a932 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/14] qlibraryinfo: allow to set qt.conf from the outside 4Subject: [PATCH 02/17] qlibraryinfo: allow to set qt.conf from the outside
5 using the environment 5 using the environment
6 6
7Allow to set a qt.conf from the outside using the environment. This allows 7Allow to set a qt.conf from the outside using the environment. This allows
@@ -16,10 +16,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
16 1 file changed, 4 insertions(+), 1 deletion(-) 16 1 file changed, 4 insertions(+), 1 deletion(-)
17 17
18diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp 18diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
19index 1c3b09f..c647a16 100644 19index 6d25325..80e0f30 100644
20--- a/src/corelib/global/qlibraryinfo.cpp 20--- a/src/corelib/global/qlibraryinfo.cpp
21+++ b/src/corelib/global/qlibraryinfo.cpp 21+++ b/src/corelib/global/qlibraryinfo.cpp
22@@ -149,7 +149,10 @@ QLibrarySettings::QLibrarySettings() 22@@ -153,7 +153,10 @@ QLibrarySettings::QLibrarySettings()
23 23
24 QSettings *QLibraryInfoPrivate::findConfiguration() 24 QSettings *QLibraryInfoPrivate::findConfiguration()
25 { 25 {
@@ -32,5 +32,5 @@ index 1c3b09f..c647a16 100644
32 if(!QFile::exists(qtconfig)) 32 if(!QFile::exists(qtconfig))
33 qtconfig = qt_libraryInfoFile(); 33 qtconfig = qt_libraryInfoFile();
34-- 34--
351.8.5.3 352.0.0
36 36
diff --git a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
index 7e03f740..f8253ecf 100644
--- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
@@ -1,7 +1,7 @@
1From 3648eeddaed0cf31fba226ec713d2321f398974f Mon Sep 17 00:00:00 2001 1From 5c2a17167e89f8f6cf26cbc289e57fa466678d2d 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/14] Add -external-hostbindir option 4Subject: [PATCH 03/17] 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
@@ -28,10 +28,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
28 8 files changed, 45 insertions(+), 7 deletions(-) 28 8 files changed, 45 insertions(+), 7 deletions(-)
29 29
30diff --git a/configure b/configure 30diff --git a/configure b/configure
31index 0e74f29..7f3f2f0 100755 31index eaa4092..43ad8df 100755
32--- a/configure 32--- a/configure
33+++ b/configure 33+++ b/configure
34@@ -788,6 +788,7 @@ QT_HOST_BINS= 34@@ -791,6 +791,7 @@ QT_HOST_BINS=
35 QT_HOST_LIBS= 35 QT_HOST_LIBS=
36 QT_HOST_DATA= 36 QT_HOST_DATA=
37 QT_EXT_PREFIX= 37 QT_EXT_PREFIX=
@@ -39,7 +39,7 @@ index 0e74f29..7f3f2f0 100755
39 39
40 #flags for SQL drivers 40 #flags for SQL drivers
41 QT_CFLAGS_PSQL= 41 QT_CFLAGS_PSQL=
42@@ -907,6 +908,7 @@ while [ "$#" -gt 0 ]; do 42@@ -910,6 +911,7 @@ while [ "$#" -gt 0 ]; do
43 -testsdir| \ 43 -testsdir| \
44 -hostdatadir| \ 44 -hostdatadir| \
45 -hostbindir| \ 45 -hostbindir| \
@@ -47,7 +47,7 @@ index 0e74f29..7f3f2f0 100755
47 -hostlibdir| \ 47 -hostlibdir| \
48 -extprefix| \ 48 -extprefix| \
49 -sysroot| \ 49 -sysroot| \
50@@ -1120,6 +1122,9 @@ while [ "$#" -gt 0 ]; do 50@@ -1124,6 +1126,9 @@ while [ "$#" -gt 0 ]; do
51 extprefix) 51 extprefix)
52 QT_EXT_PREFIX="$VAL" 52 QT_EXT_PREFIX="$VAL"
53 ;; 53 ;;
@@ -57,7 +57,7 @@ index 0e74f29..7f3f2f0 100755
57 pkg-config) 57 pkg-config)
58 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then 58 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
59 CFG_PKGCONFIG="$VAL" 59 CFG_PKGCONFIG="$VAL"
60@@ -2236,6 +2241,10 @@ Installation options: 60@@ -2248,6 +2253,10 @@ Installation options:
61 -hostdatadir <dir> . Data used by qmake will be installed to <dir> 61 -hostdatadir <dir> . Data used by qmake will be installed to <dir>
62 (default HOSTPREFIX) 62 (default HOSTPREFIX)
63 63
@@ -68,7 +68,7 @@ index 0e74f29..7f3f2f0 100755
68 Configure options: 68 Configure options:
69 69
70 The defaults (*) are usually acceptable. A plus (+) denotes a default value 70 The defaults (*) are usually acceptable. A plus (+) denotes a default value
71@@ -3151,6 +3160,11 @@ fi 71@@ -2906,6 +2915,11 @@ fi
72 # command line and environment validation 72 # command line and environment validation
73 #------------------------------------------------------------------------------- 73 #-------------------------------------------------------------------------------
74 74
@@ -80,7 +80,7 @@ index 0e74f29..7f3f2f0 100755
80 # update QT_CONFIG to show our current predefined configuration 80 # update QT_CONFIG to show our current predefined configuration
81 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h 81 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
82 case "$CFG_QCONFIG" in 82 case "$CFG_QCONFIG" in
83@@ -3838,6 +3852,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = { 83@@ -3593,6 +3607,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = {
84 "qt_hbinpath=$QT_HOST_BINS", 84 "qt_hbinpath=$QT_HOST_BINS",
85 "qt_hlibpath=$QT_HOST_LIBS", 85 "qt_hlibpath=$QT_HOST_LIBS",
86 "qt_hdatpath=$QT_HOST_DATA", 86 "qt_hdatpath=$QT_HOST_DATA",
@@ -135,10 +135,10 @@ index e50485c..71291ad 100644
135 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, 135 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true },
136 }; 136 };
137diff --git a/qtbase.pro b/qtbase.pro 137diff --git a/qtbase.pro b/qtbase.pro
138index 140a137..4e01d5b 100644 138index ed6fc39..2421f41 100644
139--- a/qtbase.pro 139--- a/qtbase.pro
140+++ b/qtbase.pro 140+++ b/qtbase.pro
141@@ -70,16 +70,22 @@ CONFIG -= qt 141@@ -71,16 +71,22 @@ CONFIG -= qt
142 142
143 #qmake 143 #qmake
144 qmake.path = $$[QT_HOST_BINS] 144 qmake.path = $$[QT_HOST_BINS]
@@ -165,10 +165,10 @@ index 140a137..4e01d5b 100644
165 165
166 # If we are doing a prefix build, create a "module" pri which enables 166 # If we are doing a prefix build, create a "module" pri which enables
167diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp 167diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
168index c647a16..da82913 100644 168index 80e0f30..89e13cf 100644
169--- a/src/corelib/global/qlibraryinfo.cpp 169--- a/src/corelib/global/qlibraryinfo.cpp
170+++ b/src/corelib/global/qlibraryinfo.cpp 170+++ b/src/corelib/global/qlibraryinfo.cpp
171@@ -281,7 +281,7 @@ QLibraryInfo::isDebugBuild() 171@@ -336,7 +336,7 @@ QLibraryInfo::isDebugBuild()
172 */ 172 */
173 173
174 static const struct { 174 static const struct {
@@ -177,7 +177,7 @@ index c647a16..da82913 100644
177 } qtConfEntries[] = { 177 } qtConfEntries[] = {
178 { "Prefix", "." }, 178 { "Prefix", "." },
179 { "Documentation", "doc" }, // should be ${Data}/doc 179 { "Documentation", "doc" }, // should be ${Data}/doc
180@@ -307,6 +307,7 @@ static const struct { 180@@ -362,6 +362,7 @@ static const struct {
181 { "HostBinaries", "bin" }, 181 { "HostBinaries", "bin" },
182 { "HostLibraries", "lib" }, 182 { "HostLibraries", "lib" },
183 { "HostData", "." }, 183 { "HostData", "." },
@@ -186,10 +186,10 @@ index c647a16..da82913 100644
186 { "HostSpec", "" }, 186 { "HostSpec", "" },
187 #endif 187 #endif
188diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h 188diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
189index 17864b5..a14bc0f 100644 189index 0b573c2..b5535ee 100644
190--- a/src/corelib/global/qlibraryinfo.h 190--- a/src/corelib/global/qlibraryinfo.h
191+++ b/src/corelib/global/qlibraryinfo.h 191+++ b/src/corelib/global/qlibraryinfo.h
192@@ -84,6 +84,7 @@ public: 192@@ -88,6 +88,7 @@ public:
193 HostBinariesPath, 193 HostBinariesPath,
194 HostLibrariesPath, 194 HostLibrariesPath,
195 HostDataPath, 195 HostDataPath,
@@ -198,10 +198,10 @@ index 17864b5..a14bc0f 100644
198 HostSpecPath, 198 HostSpecPath,
199 LastHostPath = HostSpecPath, 199 LastHostPath = HostSpecPath,
200diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 200diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
201index 5ab413a..50a192b 100644 201index fe2caa2..eb472db 100644
202--- a/tools/configure/configureapp.cpp 202--- a/tools/configure/configureapp.cpp
203+++ b/tools/configure/configureapp.cpp 203+++ b/tools/configure/configureapp.cpp
204@@ -1186,6 +1186,13 @@ void Configure::parseCmdLine() 204@@ -1208,6 +1208,13 @@ void Configure::parseCmdLine()
205 dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i); 205 dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i);
206 } 206 }
207 207
@@ -215,7 +215,7 @@ index 5ab413a..50a192b 100644
215 else if (configCmdLine.at(i) == "-make-tool") { 215 else if (configCmdLine.at(i) == "-make-tool") {
216 ++i; 216 ++i;
217 if (i == argCount) 217 if (i == argCount)
218@@ -3852,6 +3859,7 @@ void Configure::generateQConfigCpp() 218@@ -3957,6 +3964,7 @@ void Configure::generateQConfigCpp()
219 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl 219 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
220 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl 220 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl
221 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl 221 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl
@@ -224,5 +224,5 @@ index 5ab413a..50a192b 100644
224 << " \"qt_hostspec=" << hostSpec << "\"," << endl 224 << " \"qt_hostspec=" << hostSpec << "\"," << endl
225 << "#endif" << endl 225 << "#endif" << endl
226-- 226--
2271.8.5.3 2272.0.0
228 228
diff --git a/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch b/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
index 16317ac7..d24e193d 100644
--- a/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
+++ b/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
@@ -1,7 +1,7 @@
1From 698f073fb8cc6dc1ced277b6ae2056cb9d02f2d5 Mon Sep 17 00:00:00 2001 1From 15b871b694cead18fcb750c0bb393440ea929e06 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/14] configureapp: Prefix default LIBDIRS and INCDIRS with 4Subject: [PATCH 04/17] configureapp: Prefix default LIBDIRS and INCDIRS with
5 SYSROOT 5 SYSROOT
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -10,10 +10,10 @@ Upstream-Status: Pending
10 1 file changed, 2 insertions(+), 2 deletions(-) 10 1 file changed, 2 insertions(+), 2 deletions(-)
11 11
12diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 12diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
13index 50a192b..46eabe4 100644 13index eb472db..808c8dd 100644
14--- a/tools/configure/configureapp.cpp 14--- a/tools/configure/configureapp.cpp
15+++ b/tools/configure/configureapp.cpp 15+++ b/tools/configure/configureapp.cpp
16@@ -3213,8 +3213,8 @@ void Configure::generateQConfigPri() 16@@ -3344,8 +3344,8 @@ void Configure::generateQConfigPri()
17 configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl; 17 configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl;
18 if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) { 18 if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) {
19 // FIXME: add detection 19 // FIXME: add detection
@@ -23,7 +23,7 @@ index 50a192b..46eabe4 100644
23+ configStream << " QMAKE_DEFAULT_INCDIRS = $$[QT_SYSROOT]/usr/include $$[QT_SYSROOT]/usr/local/include" << endl; 23+ configStream << " QMAKE_DEFAULT_INCDIRS = $$[QT_SYSROOT]/usr/include $$[QT_SYSROOT]/usr/local/include" << endl;
24 } 24 }
25 configStream << "}" << endl; 25 configStream << "}" << endl;
26 if (dictionary["QT_EDITION"].contains("OPENSOURCE")) 26 configStream << "QT_CONFIG += " << qtConfig.join(' ') << endl;
27-- 27--
281.8.5.3 282.0.0
29 29
diff --git a/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-replacement.patch b/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-replacement.patch
index e1135ce6..751ba277 100644
--- a/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-replacement.patch
+++ b/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-replacement.patch
@@ -1,7 +1,7 @@
1From 4d690dbc278063648434b0f02bdb1b6f4623b285 Mon Sep 17 00:00:00 2001 1From ad57786c39de2a192c0972bca6ffde2ce7a05d91 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/14] qt_module: Fix pkgconfig replacement 4Subject: [PATCH 05/17] qt_module: Fix pkgconfig replacement
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -95,5 +95,5 @@ index 2134077..a88b8cc 100644
95 95
96 unix|mingw { 96 unix|mingw {
97-- 97--
981.9.3 982.0.0
99 99
diff --git a/recipes-qt/qt5/qtbase/0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch b/recipes-qt/qt5/qtbase/0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch
index 726bfe00..2ad412e1 100644
--- a/recipes-qt/qt5/qtbase/0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch
+++ b/recipes-qt/qt5/qtbase/0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch
@@ -1,7 +1,7 @@
1From ebd38fc708cf7190e47a75754235f56fa5d86300 Mon Sep 17 00:00:00 2001 1From 96b69ad415b4883782841fa1d7723cf182e4ce6e Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 8 May 2013 23:54:35 +0200 3Date: Wed, 8 May 2013 23:54:35 +0200
4Subject: [PATCH 06/14] configure: don't export SYSTEM_VARIABLES to .qmake.vars 4Subject: [PATCH 06/17] configure: don't export SYSTEM_VARIABLES to .qmake.vars
5 5
6* linux-oe-g++ should handle this correctly and exporting LD as QMAKE_LINK is 6* linux-oe-g++ should handle this correctly and exporting LD as QMAKE_LINK is
7 causing issues as we need g++ to be used as linker 7 causing issues as we need g++ to be used as linker
@@ -14,7 +14,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 1 file changed, 14 deletions(-) 14 1 file changed, 14 deletions(-)
15 15
16diff --git a/configure b/configure 16diff --git a/configure b/configure
17index 7f3f2f0..13dd619 100755 17index 43ad8df..341a01b 100755
18--- a/configure 18--- a/configure
19+++ b/configure 19+++ b/configure
20@@ -581,20 +581,6 @@ fi'` 20@@ -581,20 +581,6 @@ fi'`
@@ -39,5 +39,5 @@ index 7f3f2f0..13dd619 100755
39 mkdir -p "$outpath/config.tests" 39 mkdir -p "$outpath/config.tests"
40 rm -f "$outpath/config.tests/.qmake.cache" 40 rm -f "$outpath/config.tests/.qmake.cache"
41-- 41--
421.8.5.3 422.0.0
43 43
diff --git a/recipes-qt/qt5/qtbase/0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch b/recipes-qt/qt5/qtbase/0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch
index e8a7784b..66eb898f 100644
--- a/recipes-qt/qt5/qtbase/0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch
+++ b/recipes-qt/qt5/qtbase/0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch
@@ -1,7 +1,7 @@
1From 828eecd8f361cb965bd40f535435efa91665c8e5 Mon Sep 17 00:00:00 2001 1From 28fa609f9726993dd5b52de45c3458a1bdff6149 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 9 May 2013 10:06:50 +0200 3Date: Thu, 9 May 2013 10:06:50 +0200
4Subject: [PATCH 07/14] configure.prf: Allow to add extra arguments to make 4Subject: [PATCH 07/17] configure.prf: Allow to add extra arguments to make
5 5
6* sometimes we would like to add -e or define some variable and respect it from both 6* sometimes we would like to add -e or define some variable and respect it from both
7 Makefiles used in configure tests and also Makefiles to build the application 7 Makefiles used in configure tests and also Makefiles to build the application
@@ -14,11 +14,11 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 1 file changed, 2 insertions(+), 2 deletions(-) 14 1 file changed, 2 insertions(+), 2 deletions(-)
15 15
16diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf 16diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
17index 39144e7..de48b07 100644 17index fe41c54..e2db923 100644
18--- a/mkspecs/features/configure.prf 18--- a/mkspecs/features/configure.prf
19+++ b/mkspecs/features/configure.prf 19+++ b/mkspecs/features/configure.prf
20@@ -54,12 +54,12 @@ defineTest(qtCompileTest) { 20@@ -60,12 +60,12 @@ defineTest(qtCompileTest) {
21 qmake_configs = "\"CONFIG -= qt debug_and_release app_bundle lib_bundle\"" 21 }
22 22
23 # Clean up after previous run 23 # Clean up after previous run
24- exists($$test_out_dir/Makefile):qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE distclean") 24- exists($$test_out_dir/Makefile):qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE distclean")
@@ -33,5 +33,5 @@ index 39144e7..de48b07 100644
33 msg = "test $$1 succeeded" 33 msg = "test $$1 succeeded"
34 write_file($$QMAKE_CONFIG_LOG, msg, append) 34 write_file($$QMAKE_CONFIG_LOG, msg, append)
35-- 35--
361.8.5.3 362.0.0
37 37
diff --git a/recipes-qt/qt5/qtbase/0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch b/recipes-qt/qt5/qtbase/0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch
index cccf7fbe..d1d5873d 100644
--- a/recipes-qt/qt5/qtbase/0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch
+++ b/recipes-qt/qt5/qtbase/0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch
@@ -1,7 +1,7 @@
1From 3923edc900d1b3dd23e0a6af3a32255707cd497c Mon Sep 17 00:00:00 2001 1From 8cca7892a65992369bb50a965293ebd2198ce40a Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com> 2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 28 Feb 2012 15:10:24 +0000 3Date: Tue, 28 Feb 2012 15:10:24 +0000
4Subject: [PATCH 08/14] configure: make pulseaudio, alsa, freetype a 4Subject: [PATCH 08/17] configure: make pulseaudio, alsa, freetype a
5 configurable option 5 configurable option
6 6
7Allows disabling pulseaudio, alsa, freetype support at configure time 7Allows disabling pulseaudio, alsa, freetype support at configure time
@@ -16,10 +16,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
16 1 file changed, 21 insertions(+) 16 1 file changed, 21 insertions(+)
17 17
18diff --git a/configure b/configure 18diff --git a/configure b/configure
19index 13dd619..66c2ae0 100755 19index 341a01b..7d33403 100755
20--- a/configure 20--- a/configure
21+++ b/configure 21+++ b/configure
22@@ -1810,6 +1810,27 @@ while [ "$#" -gt 0 ]; do 22@@ -1826,6 +1826,27 @@ while [ "$#" -gt 0 ]; do
23 UNKNOWN_OPT=yes 23 UNKNOWN_OPT=yes
24 fi 24 fi
25 ;; 25 ;;
@@ -48,5 +48,5 @@ index 13dd619..66c2ae0 100755
48 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then 48 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
49 CFG_QGTKSTYLE="$VAL" 49 CFG_QGTKSTYLE="$VAL"
50-- 50--
511.8.5.3 512.0.0
52 52
diff --git a/recipes-qt/qt5/qtbase/0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch b/recipes-qt/qt5/qtbase/0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch
index 23e22a89..c83e330c 100644
--- a/recipes-qt/qt5/qtbase/0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch
+++ b/recipes-qt/qt5/qtbase/0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch
@@ -1,7 +1,7 @@
1From acbd622d1b91c1aa9ec8c48d10d91354d175345c Mon Sep 17 00:00:00 2001 1From c1c28fa202519d6af0ca5aac942c3e18aaeda602 Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de> 2From: Simon Busch <morphis@gravedo.de>
3Date: Mon, 22 Jul 2013 21:09:41 +0000 3Date: Mon, 22 Jul 2013 21:09:41 +0000
4Subject: [PATCH 09/14] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to 4Subject: [PATCH 09/17] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to
5 determine path to host binaries 5 determine path to host binaries
6 6
7Upstream-Status: Inappropiate (configuration) 7Upstream-Status: Inappropiate (configuration)
@@ -46,7 +46,7 @@ index 9bda70e..6e3605a 100644
46 _qt5_Core_check_file_exists(${imported_location}) 46 _qt5_Core_check_file_exists(${imported_location})
47 47
48diff --git a/src/dbus/Qt5DBusConfigExtras.cmake.in b/src/dbus/Qt5DBusConfigExtras.cmake.in 48diff --git a/src/dbus/Qt5DBusConfigExtras.cmake.in b/src/dbus/Qt5DBusConfigExtras.cmake.in
49index 1d94715..617efa8 100644 49index 1d94715..301af8f 100644
50--- a/src/dbus/Qt5DBusConfigExtras.cmake.in 50--- a/src/dbus/Qt5DBusConfigExtras.cmake.in
51+++ b/src/dbus/Qt5DBusConfigExtras.cmake.in 51+++ b/src/dbus/Qt5DBusConfigExtras.cmake.in
52@@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qdbuscpp2xml) 52@@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qdbuscpp2xml)
@@ -81,5 +81,5 @@ index e5650ff..16ff007 100644
81 _qt5_Widgets_check_file_exists(${imported_location}) 81 _qt5_Widgets_check_file_exists(${imported_location})
82 82
83-- 83--
841.8.5.3 842.0.0
85 85
diff --git a/recipes-qt/qt5/qtbase/0015-Fix-missing-plugin_types.patch b/recipes-qt/qt5/qtbase/0010-Fix-missing-plugin_types.patch
index 612cbdda..8defd450 100644
--- a/recipes-qt/qt5/qtbase/0015-Fix-missing-plugin_types.patch
+++ b/recipes-qt/qt5/qtbase/0010-Fix-missing-plugin_types.patch
@@ -1,7 +1,7 @@
1From f0e01b788e86f24352ba14ad17c3f337f934467d Mon Sep 17 00:00:00 2001 1From 92cd73cb679dec203484cd76deff50cf329d8c44 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 15:09:23 +0200 3Date: Mon, 21 Apr 2014 15:09:23 +0200
4Subject: [PATCH] Fix missing plugin_types 4Subject: [PATCH 10/17] Fix missing plugin_types
5 5
6* bearer/generic was failing with: 6* bearer/generic was failing with:
7 Project ERROR: No module claims plugin type 'bearer' 7 Project ERROR: No module claims plugin type 'bearer'
@@ -26,5 +26,5 @@ index f31bc38..415e780 100644
26 rpath_link \ 26 rpath_link \
27 )):defined(QT.$${mod}.$$var, var):cache(QT.$${mod}.$$var, transient) 27 )):defined(QT.$${mod}.$$var, var):cache(QT.$${mod}.$$var, transient)
28-- 28--
291.9.1 292.0.0
30 30
diff --git a/recipes-qt/qt5/qtbase/0016-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch b/recipes-qt/qt5/qtbase/0011-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
index 65ebbd1c..412ff357 100644
--- a/recipes-qt/qt5/qtbase/0016-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
+++ b/recipes-qt/qt5/qtbase/0011-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
@@ -1,7 +1,7 @@
1From 91b185d1f4843d22d42461c0aee4cd0f5393bbc8 Mon Sep 17 00:00:00 2001 1From 13d45f81c26b22668c58d56a797db6f4309b5469 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] Revert "eglfs: Print the chosen config in debug mode" 4Subject: [PATCH 11/17] Revert "eglfs: Print the chosen config in debug mode"
5 5
6This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e. 6This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e.
7--- 7---
@@ -10,7 +10,7 @@ This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e.
10 2 files changed, 3 insertions(+), 8 deletions(-) 10 2 files changed, 3 insertions(+), 8 deletions(-)
11 11
12diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp 12diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp
13index e6624fb..3870f6c 100644 13index 75789db..cd732d9 100644
14--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp 14--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp
15+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp 15+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp
16@@ -437,9 +437,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config) 16@@ -437,9 +437,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config)
@@ -52,5 +52,5 @@ index eec6463..4a7c69b 100644
52 // Make the context current to ensure the GL version query works. This needs a surface too. 52 // Make the context current to ensure the GL version query works. This needs a surface too.
53 const EGLint pbufferAttributes[] = { 53 const EGLint pbufferAttributes[] = {
54-- 54--
551.9.1 552.0.0
56 56
diff --git a/recipes-qt/qt5/qtbase/0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase/0012-qeglplatformintegration-Undefine-CursorShape-from-X..patch
index 2f4d80cd..6c7d1397 100644
--- a/recipes-qt/qt5/qtbase/0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch
+++ b/recipes-qt/qt5/qtbase/0012-qeglplatformintegration-Undefine-CursorShape-from-X..patch
@@ -1,7 +1,7 @@
1From 959b2fb8d8eb5e755e3d9d3d3031b996f96fb23b Mon Sep 17 00:00:00 2001 1From ebe56bbaf8916bae94e7cef7932b87fd0fe13959 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 8/8] qeglplatformintegration: Undefine CursorShape from X.h 4Subject: [PATCH 12/17] qeglplatformintegration: Undefine CursorShape from X.h
5 5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7--- 7---
diff --git a/recipes-qt/qt5/qtbase/0012-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0013-configure-bump-path-length-from-256-to-512-character.patch
index be86f71d..a215a5de 100644
--- a/recipes-qt/qt5/qtbase/0012-configure-bump-path-length-from-256-to-512-character.patch
+++ b/recipes-qt/qt5/qtbase/0013-configure-bump-path-length-from-256-to-512-character.patch
@@ -1,7 +1,7 @@
1From 63313ba681ad5bb0ef83c3b8908387939c2b41d5 Mon Sep 17 00:00:00 2001 1From 2fd1d381e0202296303f296965467f3252d72e25 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 12/12] configure: bump path length from 256 to 512 characters 4Subject: [PATCH 13/17] configure: bump path length from 256 to 512 characters
5 5
6Increase the path length that gets hardcoded into generated config.cpp file 6Increase the path length that gets hardcoded into generated config.cpp file
7from 256 to 512 characters, as nativesdk path can be quite long. 7from 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
14diff --git a/configure b/configure 14diff --git a/configure b/configure
15index d423cce..1ea4102 100755 15index 7d33403..53eb65d 100755
16--- a/configure 16--- a/configure
17+++ b/configure 17+++ b/configure
18@@ -3823,7 +3823,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ 18@@ -3578,7 +3578,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 d423cce..1ea4102 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--
281.8.5.3 282.0.0
29 29
diff --git a/recipes-qt/qt5/qtbase/0013-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase/0014-QOpenGLPaintDevice-sub-area-support.patch
index 54039de9..64dd18ad 100644
--- a/recipes-qt/qt5/qtbase/0013-QOpenGLPaintDevice-sub-area-support.patch
+++ b/recipes-qt/qt5/qtbase/0014-QOpenGLPaintDevice-sub-area-support.patch
@@ -1,7 +1,7 @@
1From 3c7bfc66e6c84fe06b16dfa0b76ee71701e8d5b5 Mon Sep 17 00:00:00 2001 1From d252513e388358e52865a29374840327369cb479 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 13/14] QOpenGLPaintDevice sub-area support 4Subject: [PATCH 14/17] QOpenGLPaintDevice sub-area support
5 5
6Allows creating QOpenGLPaintDevice targetting sub-area 6Allows creating QOpenGLPaintDevice targetting sub-area
7of binded framebuffer. 7of binded framebuffer.
@@ -148,5 +148,5 @@ index ac88d9d..6c77f10 100644
148 } else { 148 } else {
149 if (m_vao.isCreated()) { 149 if (m_vao.isCreated()) {
150-- 150--
1511.9.3 1512.0.0
152 152
diff --git a/recipes-qt/qt5/qtbase/0014-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch b/recipes-qt/qt5/qtbase/0015-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
index 6fd29381..92b9ddd2 100644
--- a/recipes-qt/qt5/qtbase/0014-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
+++ b/recipes-qt/qt5/qtbase/0015-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
@@ -1,7 +1,7 @@
1From c8995c6eb6cf4bfa8daf1e3e96bd4885a096f405 Mon Sep 17 00:00:00 2001 1From c209e7648bc0c59707fe18874789a826f8beb47b 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 14/14] eglfs: fix egl error for platforms only supporting one 4Subject: [PATCH 15/17] eglfs: fix egl error for platforms only supporting one
5 window/surface 5 window/surface
6MIME-Version: 1.0 6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8 7Content-Type: text/plain; charset=UTF-8
@@ -26,12 +26,12 @@ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
26 1 file changed, 15 insertions(+) 26 1 file changed, 15 insertions(+)
27 27
28diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp 28diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp
29index bba00da..567820c 100644 29index 2d36c0b..f2b68d3 100644
30--- a/src/plugins/platforms/eglfs/qeglfswindow.cpp 30--- a/src/plugins/platforms/eglfs/qeglfswindow.cpp
31+++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp 31+++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp
32@@ -87,6 +87,16 @@ void QEglFSWindow::create() 32@@ -72,6 +72,16 @@ void QEglFSWindow::create()
33 if (m_flags.testFlag(Created)) 33
34 return; 34 QEGLPlatformWindow::create();
35 35
36+ static EGLSurface __singleWindowSurface; 36+ static EGLSurface __singleWindowSurface;
37+ if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::MultipleWindows) && (__singleWindowSurface)) 37+ if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::MultipleWindows) && (__singleWindowSurface))
@@ -44,9 +44,9 @@ index bba00da..567820c 100644
44+ } 44+ }
45+ 45+
46 m_flags = Created; 46 m_flags = Created;
47 m_wid = newWId();
48 47
49@@ -130,6 +140,11 @@ void QEglFSWindow::create() 48 if (window()->type() == Qt::Desktop)
49@@ -105,6 +115,11 @@ void QEglFSWindow::create()
50 50
51 resetSurface(); 51 resetSurface();
52 52
@@ -57,7 +57,7 @@ index bba00da..567820c 100644
57+ 57+
58 screen->setPrimarySurface(m_surface); 58 screen->setPrimarySurface(m_surface);
59 59
60 if (m_flags.testFlag(IsRaster)) { 60 if (isRaster()) {
61-- 61--
621.8.5.3 622.0.0
63 63
diff --git a/recipes-qt/qt5/qtbase/0010-Always-build-uic.patch b/recipes-qt/qt5/qtbase/0016-Always-build-uic.patch
index c55bc542..a466dbc3 100644
--- a/recipes-qt/qt5/qtbase/0010-Always-build-uic.patch
+++ b/recipes-qt/qt5/qtbase/0016-Always-build-uic.patch
@@ -1,7 +1,7 @@
1From 745055eb0f56ec4d48ea2ce57bcf3d0011afcec0 Mon Sep 17 00:00:00 2001 1From 981cbf981b4a36d790b4ebf1a3434ef439ad3e52 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 10/12] Always build uic 4Subject: [PATCH 16/17] Always build uic
5 5
6Even if we are not building gui or widgets. This tool is needed later 6Even if we are not building gui or widgets. This tool is needed later
7as a native tool when compiling the target. 7as a native tool when compiling the target.
@@ -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--
301.9.3 302.0.0
31 31
diff --git a/recipes-qt/qt5/qtbase/0010-qmake-is-already-built-in-qtbase-native.patch b/recipes-qt/qt5/qtbase/0016-qmake-is-already-built-in-qtbase-native.patch
index 64ba88e7..b807862c 100644
--- a/recipes-qt/qt5/qtbase/0010-qmake-is-already-built-in-qtbase-native.patch
+++ b/recipes-qt/qt5/qtbase/0016-qmake-is-already-built-in-qtbase-native.patch
@@ -1,7 +1,7 @@
1From 77a18a9fe2d0e4a1dcd95e2d78c85eb37452bc73 Mon Sep 17 00:00:00 2001 1From 9a83bdba584d2a816c4f54fbc903f9f8f9fc0a2d 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 10/14] qmake is already built in qtbase-native 4Subject: [PATCH 16/17] qmake is already built in qtbase-native
5 5
6Ported from OE by: Yu Ke <ke.yu@intel.com> 6Ported from OE by: Yu Ke <ke.yu@intel.com>
7Upstream-Status: Inappropriate [configuration] 7Upstream-Status: Inappropriate [configuration]
@@ -13,10 +13,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/configure b/configure 15diff --git a/configure b/configure
16index 66c2ae0..ac836aa 100755 16index 53eb65d..b61c82b 100755
17--- a/configure 17--- a/configure
18+++ b/configure 18+++ b/configure
19@@ -3941,7 +3941,7 @@ setBootstrapEvalVariable() 19@@ -3680,7 +3680,7 @@ setBootstrapEvalVariable()
20 20
21 21
22 # build qmake 22 # build qmake
@@ -26,5 +26,5 @@ index 66c2ae0..ac836aa 100755
26 26
27 mkdir -p "$outpath/qmake" || exit 27 mkdir -p "$outpath/qmake" || exit
28-- 28--
291.8.5.3 292.0.0
30 30
diff --git a/recipes-qt/qt5/qtbase/0011-Allow-building-a-separate-qmake-for-the-target.patch b/recipes-qt/qt5/qtbase/0017-Allow-building-a-separate-qmake-for-the-target.patch
index f80edbd9..a6fcfe52 100644
--- a/recipes-qt/qt5/qtbase/0011-Allow-building-a-separate-qmake-for-the-target.patch
+++ b/recipes-qt/qt5/qtbase/0017-Allow-building-a-separate-qmake-for-the-target.patch
@@ -1,7 +1,7 @@
1From dd14f3eda61669c66c95dbcbca3afbd61f9aa746 Mon Sep 17 00:00:00 2001 1From a850a288fb526e6a4003616aa11dd992688ccc89 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com> 2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Mon, 29 Oct 2012 20:26:36 -0700 3Date: Mon, 29 Oct 2012 20:26:36 -0700
4Subject: [PATCH 11/14] Allow building a separate qmake for the target 4Subject: [PATCH 17/17] Allow building a separate qmake for the target
5 5
6Upstream-Status: Inappropriate [config] 6Upstream-Status: Inappropriate [config]
7 7
@@ -26,5 +26,5 @@ index 89d6ea5..7c605b9 100644
26 VPATH += \ 26 VPATH += \
27 ../src/corelib/global \ 27 ../src/corelib/global \
28-- 28--
291.8.5.3 292.0.0
30 30
diff --git a/recipes-qt/qt5/qtbase/0011-configure-preserve-built-qmake-and-swap-with-native-.patch b/recipes-qt/qt5/qtbase/0017-configure-preserve-built-qmake-and-swap-with-native-.patch
index 798cd45e..0d5bc2f6 100644
--- a/recipes-qt/qt5/qtbase/0011-configure-preserve-built-qmake-and-swap-with-native-.patch
+++ b/recipes-qt/qt5/qtbase/0017-configure-preserve-built-qmake-and-swap-with-native-.patch
@@ -1,7 +1,7 @@
1From 441b2ebc41013505b9f5b6a4db43526506f84e47 Mon Sep 17 00:00:00 2001 1From 88e1910cc2e0c2890d7084cc66ebb7c3c9981bf3 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 11/12] configure: preserve built qmake and swap with native 4Subject: [PATCH 17/17] configure: preserve built qmake and swap with native
5 one 5 one
6 6
7Let configure script build the real qmake, but right after it's built, swap 7Let configure script build the real qmake, but right after it's built, swap
@@ -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 66c2ae0..d423cce 100755 16index 53eb65d..01832e6 100755
17--- a/configure 17--- a/configure
18+++ b/configure 18+++ b/configure
19@@ -4085,6 +4085,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 19@@ -3827,6 +3827,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 66c2ae0..d423cce 100755
26 echo "Running configuration tests..." 26 echo "Running configuration tests..."
27 27
28-- 28--
291.8.5.3 292.0.0
30 30