|
@@ -11,14 +11,22 @@ config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
|
|
# ARM needs BLX, so v5t+
|
|
|
depends on !BR2_ARM_CPU_ARMV4
|
|
|
|
|
|
-comment "Qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
|
|
|
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
|
|
+comment "Qt5 needs a toolchain w/ gcc >= 4.8, wchar, NPTL, C++, dynamic library"
|
|
|
+ depends on !BR2_ARM_CPU_ARMV4
|
|
|
+ depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
|
+ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
|
|
|
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_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
|
+ depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
|
|
|
+ # no built-in double-conversion support
|
|
|
+ depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
select BR2_PACKAGE_QT5BASE
|
|
|
help
|
|
@@ -29,31 +37,9 @@ menuconfig BR2_PACKAGE_QT5
|
|
|
|
|
|
if BR2_PACKAGE_QT5
|
|
|
|
|
|
-choice
|
|
|
- prompt "Qt5 version"
|
|
|
-
|
|
|
config BR2_PACKAGE_QT5_VERSION_LATEST
|
|
|
- bool "Latest (5.12)"
|
|
|
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
|
- depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
|
|
|
- # no built-in double-conversion support
|
|
|
- depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
|
|
|
- help
|
|
|
- This option builds Qt 5.12, which is licensed under
|
|
|
- (L)GPL-3.0+.
|
|
|
-
|
|
|
-comment "Latest Qt version needs a toolchain w/ gcc >= 4.8"
|
|
|
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
- depends on !BR2_ARM_CPU_ARMV4
|
|
|
- depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
|
|
|
-
|
|
|
-config BR2_PACKAGE_QT5_VERSION_5_6
|
|
|
- bool "LTS (5.6)"
|
|
|
- help
|
|
|
- This option builds Qt 5.6, which is licensed under
|
|
|
- (L)GPL-2.0+.
|
|
|
-
|
|
|
-endchoice
|
|
|
+ bool
|
|
|
+ default y
|
|
|
|
|
|
source "package/qt5/qt53d/Config.in"
|
|
|
source "package/qt5/qt5base/Config.in"
|