aa1c40ba37
For 5.8.0 - add hashes - qt5 need C++11 compliant compiler since 5.7 ([1]) - use different licenses: since version 5.7 Qt removed the LGPL v2.1 option in favor of v3 with a different exception - qt5base: renamed library to EglFSDeviceIntegration ([2]) - qt5base: remove ras-pi patch, commit c0cc5052097c723d0331a7619d686af9eb93d33c fix it ([3]) - qt5base: remove 0007-eglfs-fix-eglfs_mali-compile-for-odroid-mali.patch (upstream committed [3b]) - qt5base: remove obsolete config-option -large ([4]) - qt5base: gstreamer support fully moved to qt5multimedia, so gstreamer related options are no longer passed ([5]) - add patch for python-pyqt5 to fix the build with Qt 5.8 - add tweak in libv4l to fix the build with Qt 5.8, originally provided by Peter Seiderer - add patch from Peter Seiderer fixing a build issue with freetype For 5.6.2 - moved patches to subdir, and renumber patches [1] http://blog.qt.io/blog/2016/06/16/qt-5-7-released/ [2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=ec4eb4db61094179bc6a9ec26ec68fb710177053 [3] https://codereview.qt-project.org/#/c/167172/ [3b] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f1b4bd4790860e1ff5afcec111a359bc3a91cfda [4] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=84d3a21c9efe7efb2cce6d3bd14af1f9580b1108 [5] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=7d4da559afb62a779b3d90a65fb679cb5433f203 Signed-off-by: Andreas Naumann <anaumann@ultratronik.de> Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> [Thomas: - tweak commit log about GStreamer related changes, suggested by Arnout - move the gcc 4.8 dependency from the main qt5 option to just the qt5.8 selection, so that qt5.6 can still be built if gcc < 4.8 is used. Noticed by Arnout. - rename the options of the version selection to not include the version number itself so that we don't have to keep legacy symbols. Noticed by Arnout. - introduce changes to qt5quickcontrols2.mk needed to handle qt5.6 vs. qt5.8, borrowed from a later patch in the series. - add patch for python-pyqt5 to fix the build with Qt 5.8. - add fix to libv4l.mk from Peter Seiderer to fix the build with Qt 5.8. - renumber patches for 5.6.2, suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
81 lines
2.4 KiB
Plaintext
81 lines
2.4 KiB
Plaintext
config BR2_PACKAGE_QT5_GL_AVAILABLE
|
|
bool
|
|
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
|
|
default y
|
|
|
|
config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
|
bool
|
|
# Javascript engine is only available on certain architectures
|
|
depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
|
|
# ARM needs BLX, so v5t+
|
|
depends on !BR2_ARM_CPU_ARMV4
|
|
default y
|
|
|
|
comment "Qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
|
|
depends on !BR2_PACKAGE_QT
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
|
|
|
menuconfig BR2_PACKAGE_QT5
|
|
bool "Qt5"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on !BR2_PACKAGE_QT
|
|
select BR2_PACKAGE_QT5BASE
|
|
help
|
|
This option enables the Qt5 framework. Sub-options allow to
|
|
select which modules should be built.
|
|
|
|
http://qt.io
|
|
|
|
if BR2_PACKAGE_QT5
|
|
|
|
choice
|
|
prompt "Qt5 version"
|
|
|
|
config BR2_QT5_VERSION_LATEST
|
|
bool "Latest (5.8)"
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
help
|
|
This option builds Qt 5.8, which is licensed under
|
|
(L)GPLv3+.
|
|
|
|
comment "Latest Qt version needs toolchain w/ gcc >= 4.8"
|
|
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
|
config BR2_QT5_VERSION_5_6
|
|
bool "LTS (5.6)"
|
|
help
|
|
This option builds Qt 5.6, which is licensed under
|
|
(L)GPLv2+.
|
|
|
|
endchoice
|
|
|
|
source "package/qt5/qt5base/Config.in"
|
|
source "package/qt5/qt5canvas3d/Config.in"
|
|
source "package/qt5/qt5connectivity/Config.in"
|
|
source "package/qt5/qt5declarative/Config.in"
|
|
source "package/qt5/qt5enginio/Config.in"
|
|
source "package/qt5/qt5graphicaleffects/Config.in"
|
|
source "package/qt5/qt5imageformats/Config.in"
|
|
source "package/qt5/qt5location/Config.in"
|
|
source "package/qt5/qt5multimedia/Config.in"
|
|
source "package/qt5/qt5quickcontrols/Config.in"
|
|
source "package/qt5/qt5sensors/Config.in"
|
|
source "package/qt5/qt5serialport/Config.in"
|
|
source "package/qt5/qt5svg/Config.in"
|
|
source "package/qt5/qt5tools/Config.in"
|
|
source "package/qt5/qt5webchannel/Config.in"
|
|
source "package/qt5/qt5websockets/Config.in"
|
|
source "package/qt5/qt5x11extras/Config.in"
|
|
source "package/qt5/qt5xmlpatterns/Config.in"
|
|
comment "technology preview"
|
|
source "package/qt5/qt53d/Config.in"
|
|
source "package/qt5/qt5quickcontrols2/Config.in"
|
|
source "package/qt5/qt5serialbus/Config.in"
|
|
comment "legacy compatibility"
|
|
source "package/qt5/qt5script/Config.in"
|
|
source "package/qt5/qt5webkit/Config.in"
|
|
endif
|