summaryrefslogtreecommitdiff
path: root/package/qt5/Config.in
blob: 692943433b3adb6831f1ff4fed37eec5d1fb1b04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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/qt53d/Config.in"
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/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/qt5quickcontrols2/Config.in"
source "package/qt5/qt5sensors/Config.in"
source "package/qt5/qt5serialbus/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 "legacy compatibility"
source "package/qt5/qt5enginio/Config.in"
source "package/qt5/qt5script/Config.in"
source "package/qt5/qt5webkit/Config.in"
endif