[Buildroot] [PATCH v2] qt/qt5base: Fix INCLUDE_PATH when no JPEG/PNG support
Subsystems:
the rest
5 messages,
4 authors,
2015-07-26 · open the first message on its own page
Fixes:
http://autobuild.buildroot.net/results/4be77432390c4cfb557c3f2cc52cf732de037949/
http://autobuild.buildroot.net/results/255a77e01d8af4090e03acb82f9ad93b7c4dd212/
http://autobuild.buildroot.net/results/7844e6a3eeecf67dc29277b73bfe714e4d8f0d85/
http://autobuild.buildroot.net/results/b941f35b6c8e1cf3b2c4b046dfcce98700d8f408/
http://autobuild.buildroot.net/results/c64b640a39285f59cde47cb8d06ab70a5ac97c8b/
http://autobuild.buildroot.net/results/f6d24b50f58251c8051d39bc1d09b5b43f81f441/
Signed-off-by: Julien Corjon <redacted>
---
v1 -> v2 :
- Add autobuild references (suggested by thomas)
...008-QtGui-force-image-dir-in-include_path.patch | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
diff --git a/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
new file mode 100644
index 0000000..4e5068b
--- /dev/null
+++ b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch @@ -0,0 +1,33 @@
+ From 6065be41dbd04690236418098fca504140fc205c Mon Sep 17 00:00:00 2001
+ From: Julien Corjon <corjon.j@ecagroup.com>
+ Date: Thu, 23 Jul 2015 13:32:47 +0200
+ Subject: [PATCH 1/1] QtGui: force image directory in INCLUDE_PATH
+
+ If PNG/JPEG/GIF support is not set qplaformpixmap inclusion then
+ image/qplatformpixmap.h cannot be found from painting/qbrush.cpp
+
+ Change-Id: I165c888b2afc51de47267607883615d3aa3bae40
+
+ Upstream-Status: https://bugreports.qt.io/browse/QTBUG-47400
+
+ Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
+ ---
+ src/gui/image/image.pri | 2 ++
+ 1 file changed, 2 insertions(+)
+
+ diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri
+ index 8db944e..af6e0fa 100644
+ --- a/src/gui/image/image.pri
+ +++ b/src/gui/image/image.pri
+ @@ -3,6 +3,8 @@
+
+ # Qt kernel module
+
+ +INCLUDEPATH *= $$PWD
+ +
+ HEADERS += \
+ image/qbitmap.h \
+ image/qimage.h \
+ --
+ 2.1.0
+ --
2.1.0
On Fri, Jul 24, 2015 at 7:51 AM, Julien Corjon [off-list ref] wrote: Fixes:
http://autobuild.buildroot.net/results/4be77432390c4cfb557c3f2cc52cf732de037949/
http://autobuild.buildroot.net/results/255a77e01d8af4090e03acb82f9ad93b7c4dd212/
http://autobuild.buildroot.net/results/7844e6a3eeecf67dc29277b73bfe714e4d8f0d85/
http://autobuild.buildroot.net/results/b941f35b6c8e1cf3b2c4b046dfcce98700d8f408/
http://autobuild.buildroot.net/results/c64b640a39285f59cde47cb8d06ab70a5ac97c8b/
http://autobuild.buildroot.net/results/f6d24b50f58251c8051d39bc1d09b5b43f81f441/
Signed-off-by: Julien Corjon <redacted>
Tested-by: Yegor Yefremov <redacted>
quoted hunk ---
v1 -> v2 :
- Add autobuild references (suggested by thomas)
...008-QtGui-force-image-dir-in-include_path.patch | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
diff --git a/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
new file mode 100644
index 0000000..4e5068b
--- /dev/null
+++ b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch @@ -0,0 +1,33 @@
+ From 6065be41dbd04690236418098fca504140fc205c Mon Sep 17 00:00:00 2001
+ From: Julien Corjon <corjon.j@ecagroup.com>
+ Date: Thu, 23 Jul 2015 13:32:47 +0200
+ Subject: [PATCH 1/1] QtGui: force image directory in INCLUDE_PATH
+
+ If PNG/JPEG/GIF support is not set qplaformpixmap inclusion then
+ image/qplatformpixmap.h cannot be found from painting/qbrush.cpp
+
+ Change-Id: I165c888b2afc51de47267607883615d3aa3bae40
+
+ Upstream-Status: https://bugreports.qt.io/browse/QTBUG-47400
+
+ Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
+ ---
+ src/gui/image/image.pri | 2 ++
+ 1 file changed, 2 insertions(+)
+
+ diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri
+ index 8db944e..af6e0fa 100644
+ --- a/src/gui/image/image.pri
+ +++ b/src/gui/image/image.pri
+ @@ -3,6 +3,8 @@
+
+ # Qt kernel module
+
+ +INCLUDEPATH *= $$PWD
+ +
+ HEADERS += \
+ image/qbitmap.h \
+ image/qimage.h \
+ --
+ 2.1.0
+
- - 2.1.0
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Julien, All,
On 2015-07-24 07:51 +0200, Julien Corjon spake thusly: quoted hunk Fixes:
http://autobuild.buildroot.net/results/4be77432390c4cfb557c3f2cc52cf732de037949/
http://autobuild.buildroot.net/results/255a77e01d8af4090e03acb82f9ad93b7c4dd212/
http://autobuild.buildroot.net/results/7844e6a3eeecf67dc29277b73bfe714e4d8f0d85/
http://autobuild.buildroot.net/results/b941f35b6c8e1cf3b2c4b046dfcce98700d8f408/
http://autobuild.buildroot.net/results/c64b640a39285f59cde47cb8d06ab70a5ac97c8b/
http://autobuild.buildroot.net/results/f6d24b50f58251c8051d39bc1d09b5b43f81f441/
Signed-off-by: Julien Corjon <redacted>
---
v1 -> v2 :
- Add autobuild references (suggested by thomas)
...008-QtGui-force-image-dir-in-include_path.patch | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
diff --git a/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
new file mode 100644
index 0000000..4e5068b
--- /dev/null
+++ b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch @@ -0,0 +1,33 @@
+ From 6065be41dbd04690236418098fca504140fc205c Mon Sep 17 00:00:00 2001
+ From: Julien Corjon <corjon.j@ecagroup.com>
+ Date: Thu, 23 Jul 2015 13:32:47 +0200
+ Subject: [PATCH 1/1] QtGui: force image directory in INCLUDE_PATH
+
+ If PNG/JPEG/GIF support is not set qplaformpixmap inclusion then
+ image/qplatformpixmap.h cannot be found from painting/qbrush.cpp
+
+ Change-Id: I165c888b2afc51de47267607883615d3aa3bae40
+
+ Upstream-Status: https://bugreports.qt.io/browse/QTBUG-47400
+
+ Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
+ ---
+ src/gui/image/image.pri | 2 ++
+ 1 file changed, 2 insertions(+)
+
+ diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri
+ index 8db944e..af6e0fa 100644
+ --- a/src/gui/image/image.pri
+ +++ b/src/gui/image/image.pri
+ @@ -3,6 +3,8 @@
+
+ # Qt kernel module
+
+ +INCLUDEPATH *= $$PWD
+ +
It seems like we should instead use the upstream patch that has been
applied:
https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=commitdiff;h=7f282aa9f718389199b95b7f53ecd6401172fcc6;hp=954f0d93976362d29044439e4eaa11d2dff16624
Regards,
Yann E. MORIN.
+ HEADERS += \
+ image/qbitmap.h \
+ image/qimage.h \
+--
+2.1.0
+
--
2.1.0
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
Dear Yann,
Le 25 juil. 2015 ? 23:55, Yann E. MORIN <yann.morin.1998 at free.fr<mailto:yann.morin.1998@free.fr>> a ?crit :
Julien, All,
On 2015-07-24 07:51 +0200, Julien Corjon spake thusly:
Fixes:
http://autobuild.buildroot.net/results/4be77432390c4cfb557c3f2cc52cf732de037949/
http://autobuild.buildroot.net/results/255a77e01d8af4090e03acb82f9ad93b7c4dd212/
http://autobuild.buildroot.net/results/7844e6a3eeecf67dc29277b73bfe714e4d8f0d85/
http://autobuild.buildroot.net/results/b941f35b6c8e1cf3b2c4b046dfcce98700d8f408/
http://autobuild.buildroot.net/results/c64b640a39285f59cde47cb8d06ab70a5ac97c8b/
http://autobuild.buildroot.net/results/f6d24b50f58251c8051d39bc1d09b5b43f81f441/
Signed-off-by: Julien Corjon <corjon.j at ecagroup.com<mailto:corjon.j@ecagroup.com>>
---
v1 -> v2 :
- Add autobuild references (suggested by thomas)
...008-QtGui-force-image-dir-in-include_path.patch | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
diff --git a/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch
new file mode 100644
index 0000000..4e5068b
--- /dev/null
+++ b/package/qt5/qt5base/0008-QtGui-force-image-dir-in-include_path.patch @@ -0,0 +1,33 @@
+ From 6065be41dbd04690236418098fca504140fc205c Mon Sep 17 00:00:00 2001
+ From: Julien Corjon <corjon.j at ecagroup.com<mailto:corjon.j@ecagroup.com>>
+ Date: Thu, 23 Jul 2015 13:32:47 +0200
+ Subject: [PATCH 1/1] QtGui: force image directory in INCLUDE_PATH
+
+ If PNG/JPEG/GIF support is not set qplaformpixmap inclusion then
+ image/qplatformpixmap.h cannot be found from painting/qbrush.cpp
+
+ Change-Id: I165c888b2afc51de47267607883615d3aa3bae40
+
+ Upstream-Status: https://bugreports.qt.io/browse/QTBUG-47400
+
+ Signed-off-by: Julien Corjon <corjon.j at ecagroup.com<mailto:corjon.j@ecagroup.com>>
+ ---
+ src/gui/image/image.pri | 2 ++
+ 1 file changed, 2 insertions(+)
+
+ diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri
+ index 8db944e..af6e0fa 100644
+ --- a/src/gui/image/image.pri
+ +++ b/src/gui/image/image.pri
+ @@ -3,6 +3,8 @@
+
+ # Qt kernel module
+
+ +INCLUDEPATH *= $$PWD
+ +
It seems like we should instead use the upstream patch that has been
applied:
https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=commitdiff;h=7f282aa9f718389199b95b7f53ecd6401172fcc6;hp=954f0d93976362d29044439e4eaa11d2dff16624
Sure, we should! But let?s wait for the review to be finished ;-)
This patch has only been applied to the staging branch for the moment.
See https://codereview.qt-project.org/#/c/122145/
Regards,
Julien
Regards,
Yann E. MORIN.
+ HEADERS += \
+ image/qbitmap.h \
+ image/qimage.h \
+--
+2.1.0
+
--
2.1.0
_______________________________________________
buildroot mailing list
buildroot at busybox.net<mailto:buildroot@busybox.net>
http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
Hello,
On Sun, 26 Jul 2015 01:08:33 +0000, Julien CORJON wrote:
Sure, we should! But let?s wait for the review to be finished ;-)
This patch has only been applied to the staging branch for the moment.
See https://codereview.qt-project.org/#/c/122145/
Ok, so I'll wait for a new patch from you that backports the upstream
patch then. In the mean time, I'll mark your patch as Changes Requested.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com