summaryrefslogtreecommitdiffstats
path: root/package/qt5/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/qt5/Config.in')
-rw-r--r--package/qt5/Config.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/qt5/Config.in b/package/qt5/Config.in
index 234dfdd25c..88b25d550b 100644
--- a/package/qt5/Config.in
+++ b/package/qt5/Config.in
@@ -30,6 +30,28 @@ menuconfig BR2_PACKAGE_QT5
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"
OpenPOWER on IntegriCloud