From: Andreas Naumann <hidden> Date: 2017-02-10 13:59:56
This explicitly adds poppler support for qt5. Since we depend on qt5 we dont
need to depend on individual toolchain requirements for Qt5.
However for supporting Qt >= 5.7 we need to use the -std=c++11 compiler option.
Should fix:
http://autobuild.buildroot.net/results/359/35916f2a34ec45ced3e30a25a680cbaa3a0aba6f/
Andreas Naumann (1):
poppler: qt5 support needs c++11 (since Qt5.7)
Jens Kleintje (1):
poppler: Add option for Qt5 support
package/poppler/Config.in | 9 +++++++++
package/poppler/poppler.mk | 11 +++++++++++
2 files changed, 20 insertions(+)
--
1.9.1
@@ -90,6 +90,10 @@ endififeq ($(BR2_PACKAGE_POPPLER_QT5),y)POPPLER_DEPENDENCIES+=qt5basePOPPLER_CONF_OPTS+=--enable-poppler-qt5+# since Qt5.7.x c++11 is needed (LTS Qt5.6.x is the last one without this requirement)+ifneq ($(BR2_QT5_VERSION_5_6),y)+POPPLER_CONF_ENV+=CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"+endifelsePOPPLER_CONF_OPTS+=--disable-poppler-qt5endif
From: Thomas Petazzoni <hidden> Date: 2017-02-10 15:39:08
Hello,
On Fri, 10 Feb 2017 14:59:58 +0100, Andreas Naumann wrote:
+# since Qt5.7.x c++11 is needed (LTS Qt5.6.x is the last one without this requirement)
+ifneq ($(BR2_QT5_VERSION_5_6),y)
Reviewing lead me to realize that we did a mistake when naming those
options. They should be named BR2_PACKAGE_QT5_VERSION_XYZ, and not
BR2_QT5_VERSION_XYZ.
We want to fix this before 2017.02 is released.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
From: Andreas Naumann <hidden> Date: 2017-02-11 10:58:56
Hi,
Am 10.02.2017 um 16:39 schrieb Thomas Petazzoni:
Hello,
On Fri, 10 Feb 2017 14:59:58 +0100, Andreas Naumann wrote:
quoted
+# since Qt5.7.x c++11 is needed (LTS Qt5.6.x is the last one without this requirement)
+ifneq ($(BR2_QT5_VERSION_5_6),y)
Reviewing lead me to realize that we did a mistake when naming those
options. They should be named BR2_PACKAGE_QT5_VERSION_XYZ, and not
BR2_QT5_VERSION_XYZ.
Ok, I'll resend this including the option rename as first patch.
regards,
Andreas
We want to fix this before 2017.02 is released.
Thomas