xref: /OK3568_Linux_fs/buildroot/package/qt6/qt6base/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE
2*4882a593Smuzhiyun	bool "qt6base"
3*4882a593Smuzhiyun	select BR2_PACKAGE_DOUBLE_CONVERSION
4*4882a593Smuzhiyun	select BR2_PACKAGE_LIBB2
5*4882a593Smuzhiyun	select BR2_PACKAGE_PCRE2
6*4882a593Smuzhiyun	select BR2_PACKAGE_PCRE2_16
7*4882a593Smuzhiyun	select BR2_PACKAGE_ZLIB
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  Qt is a cross-platform application and UI framework for
10*4882a593Smuzhiyun	  developers using C++.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  This package corresponds to the qt6base module, which
13*4882a593Smuzhiyun	  contains the base Qt libraries: QtCore, QtNetwork, QtGui,
14*4882a593Smuzhiyun	  QtWidgets, etc.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	  http://qt.io
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunif BR2_PACKAGE_QT6BASE
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_CONCURRENT
21*4882a593Smuzhiyun	bool "concurrent module"
22*4882a593Smuzhiyun	help
23*4882a593Smuzhiyun	  This options enables the Qt6Concurrent library.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_DBUS
26*4882a593Smuzhiyun	bool "DBus module"
27*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
28*4882a593Smuzhiyun	depends on BR2_USE_MMU
29*4882a593Smuzhiyun	select BR2_PACKAGE_DBUS
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	  This option enables the D-Bus module.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_GUI
34*4882a593Smuzhiyun	bool "gui module"
35*4882a593Smuzhiyun	select BR2_PACKAGE_FREETYPE
36*4882a593Smuzhiyun	# At least one graphic backend must be enabled, so enable
37*4882a593Smuzhiyun	# linuxfb if nothing is enabled.
38*4882a593Smuzhiyun	select BR2_PACKAGE_QT6BASE_LINUXFB if \
39*4882a593Smuzhiyun	       !BR2_PACKAGE_QT6BASE_XCB && \
40*4882a593Smuzhiyun	       !BR2_PACKAGE_QT6BASE_EGLFS
41*4882a593Smuzhiyun	help
42*4882a593Smuzhiyun	  This option enables the Qt6Gui library.
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunif BR2_PACKAGE_QT6BASE_GUI
45*4882a593Smuzhiyun
46*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_LINUXFB
47*4882a593Smuzhiyun	bool "linuxfb support"
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_XCB
50*4882a593Smuzhiyun	bool "X.org XCB support"
51*4882a593Smuzhiyun	default y
52*4882a593Smuzhiyun	depends on BR2_PACKAGE_XORG7
53*4882a593Smuzhiyun	select BR2_PACKAGE_XLIB_LIBX11
54*4882a593Smuzhiyun	select BR2_PACKAGE_LIBXCB
55*4882a593Smuzhiyun	select BR2_PACKAGE_XCB_UTIL_IMAGE
56*4882a593Smuzhiyun	select BR2_PACKAGE_XCB_UTIL_KEYSYMS
57*4882a593Smuzhiyun	select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
58*4882a593Smuzhiyun	select BR2_PACKAGE_XCB_UTIL_WM
59*4882a593Smuzhiyun	select BR2_PACKAGE_LIBXKBCOMMON
60*4882a593Smuzhiyun
61*4882a593Smuzhiyuncomment "X.org XCB backend available if X.org is enabled"
62*4882a593Smuzhiyun	depends on !BR2_PACKAGE_XORG7
63*4882a593Smuzhiyun
64*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_EGLFS
65*4882a593Smuzhiyun	bool "eglfs support"
66*4882a593Smuzhiyun	default y if !BR2_PACKAGE_QT6BASE_XCB
67*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBEGL
68*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBGBM
69*4882a593Smuzhiyun	depends on BR2_PACKAGE_QT6_GL_SUPPORTS
70*4882a593Smuzhiyun	select BR2_PACKAGE_QT6BASE_OPENGL
71*4882a593Smuzhiyun
72*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_DEFAULT_QPA
73*4882a593Smuzhiyun	string "Default graphical platform"
74*4882a593Smuzhiyun	default "xcb" if BR2_PACKAGE_QT6BASE_XCB
75*4882a593Smuzhiyun	default "eglfs" if BR2_PACKAGE_QT6BASE_EGLFS
76*4882a593Smuzhiyun	help
77*4882a593Smuzhiyun	  Choose the default platform abstraction to use for graphical
78*4882a593Smuzhiyun	  applications (e.g xcb, linuxfb, eglfs, ...). If this is
79*4882a593Smuzhiyun	  empty, the default for your architecture will be used
80*4882a593Smuzhiyun	  (usually this is eglfs).
81*4882a593Smuzhiyun
82*4882a593Smuzhiyun	  You can get a list of supported platforms by running a Qt
83*4882a593Smuzhiyun	  application with the option "-platform help" on your
84*4882a593Smuzhiyun	  target. You can choose a different platform at runtime with
85*4882a593Smuzhiyun	  the -platform option.
86*4882a593Smuzhiyun
87*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_OPENGL
88*4882a593Smuzhiyun	bool "OpenGL support"
89*4882a593Smuzhiyun	default y
90*4882a593Smuzhiyun	depends on BR2_PACKAGE_QT6_GL_SUPPORTS
91*4882a593Smuzhiyun	help
92*4882a593Smuzhiyun	  This option enables OpenGL support.
93*4882a593Smuzhiyun
94*4882a593Smuzhiyuncomment "OpenGL support needs an OpenGL-capable backend"
95*4882a593Smuzhiyun	depends on !BR2_PACKAGE_QT6_GL_SUPPORTS
96*4882a593Smuzhiyun
97*4882a593Smuzhiyunif BR2_PACKAGE_QT6BASE_OPENGL
98*4882a593Smuzhiyun
99*4882a593Smuzhiyunchoice
100*4882a593Smuzhiyun	prompt "OpenGL API"
101*4882a593Smuzhiyun	default BR2_PACKAGE_QT6BASE_OPENGL_ES2
102*4882a593Smuzhiyun	help
103*4882a593Smuzhiyun	  Select OpenGL API.
104*4882a593Smuzhiyun
105*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_OPENGL_DESKTOP
106*4882a593Smuzhiyun	bool "Desktop OpenGL"
107*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBGL
108*4882a593Smuzhiyun	help
109*4882a593Smuzhiyun	  Use desktop OpenGL.
110*4882a593Smuzhiyun
111*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_OPENGL_ES2
112*4882a593Smuzhiyun	bool "OpenGL ES 2.0+"
113*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBGLES
114*4882a593Smuzhiyun	help
115*4882a593Smuzhiyun	  Use OpenGL ES 2.0 and later versions.
116*4882a593Smuzhiyun
117*4882a593Smuzhiyunendchoice
118*4882a593Smuzhiyun
119*4882a593Smuzhiyunendif
120*4882a593Smuzhiyun
121*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_FONTCONFIG
122*4882a593Smuzhiyun	bool "fontconfig support"
123*4882a593Smuzhiyun	select BR2_PACKAGE_FONTCONFIG
124*4882a593Smuzhiyun	help
125*4882a593Smuzhiyun	  This option enables Fontconfig support using the system
126*4882a593Smuzhiyun	  fontconfig library.
127*4882a593Smuzhiyun
128*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_HARFBUZZ
129*4882a593Smuzhiyun	bool "harfbuzz support"
130*4882a593Smuzhiyun	select BR2_PACKAGE_HARFBUZZ if \
131*4882a593Smuzhiyun		BR2_TOOLCHAIN_HAS_SYNC_4 && \
132*4882a593Smuzhiyun		BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
133*4882a593Smuzhiyun	help
134*4882a593Smuzhiyun	  This option enables HarfBuzz support (either system harfbuzz
135*4882a593Smuzhiyun	  if the toolchain supports __sync for 4 bytes, or the qt
136*4882a593Smuzhiyun	  provided one which avoids this dependency by using QAtomic).
137*4882a593Smuzhiyun
138*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_GIF
139*4882a593Smuzhiyun	bool "GIF support"
140*4882a593Smuzhiyun	help
141*4882a593Smuzhiyun	  This compiles and installs the plugin for GIF reading support.
142*4882a593Smuzhiyun
143*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_JPEG
144*4882a593Smuzhiyun	bool "JPEG support"
145*4882a593Smuzhiyun	select BR2_PACKAGE_JPEG
146*4882a593Smuzhiyun	help
147*4882a593Smuzhiyun	  This option enables JPEG support using the system libjpeg
148*4882a593Smuzhiyun	  library.
149*4882a593Smuzhiyun
150*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_PNG
151*4882a593Smuzhiyun	bool "PNG support"
152*4882a593Smuzhiyun	select BR2_PACKAGE_LIBPNG
153*4882a593Smuzhiyun	help
154*4882a593Smuzhiyun	  This option enables PNG support using the system libpng
155*4882a593Smuzhiyun	  library.
156*4882a593Smuzhiyun
157*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_WIDGETS
158*4882a593Smuzhiyun	bool "widgets module"
159*4882a593Smuzhiyun	help
160*4882a593Smuzhiyun	  This option enables the Qt6Widgets library.
161*4882a593Smuzhiyun
162*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_PRINTSUPPORT
163*4882a593Smuzhiyun	bool "printing support"
164*4882a593Smuzhiyun	# yes, print support needs widgets
165*4882a593Smuzhiyun	depends on BR2_PACKAGE_QT6BASE_WIDGETS
166*4882a593Smuzhiyun	help
167*4882a593Smuzhiyun	  This option enables printing support, optionally using CUPS
168*4882a593Smuzhiyun	  if available.
169*4882a593Smuzhiyun
170*4882a593Smuzhiyunendif
171*4882a593Smuzhiyun
172*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_NETWORK
173*4882a593Smuzhiyun	bool "network module"
174*4882a593Smuzhiyun	help
175*4882a593Smuzhiyun	  This options enables the Qt6Network library.
176*4882a593Smuzhiyun
177*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_SQL
178*4882a593Smuzhiyun	bool "sql module"
179*4882a593Smuzhiyun	help
180*4882a593Smuzhiyun	  This options enables the Qt6Sql library.
181*4882a593Smuzhiyun
182*4882a593Smuzhiyunif BR2_PACKAGE_QT6BASE_SQL
183*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_MYSQL
184*4882a593Smuzhiyun	bool "MySQL Plugin"
185*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
186*4882a593Smuzhiyun	depends on BR2_USE_MMU
187*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
188*4882a593Smuzhiyun	select BR2_PACKAGE_MYSQL
189*4882a593Smuzhiyun	help
190*4882a593Smuzhiyun	  Build MySQL plugin
191*4882a593Smuzhiyun
192*4882a593Smuzhiyuncomment "MySQL plugin needs a toolchain w/ C++, threads"
193*4882a593Smuzhiyun	depends on BR2_USE_MMU
194*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
195*4882a593Smuzhiyun
196*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_PSQL
197*4882a593Smuzhiyun	bool "PostgreSQL Plugin"
198*4882a593Smuzhiyun	depends on BR2_USE_MMU
199*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
200*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
201*4882a593Smuzhiyun	depends on !BR2_OPTIMIZE_FAST
202*4882a593Smuzhiyun	select BR2_PACKAGE_POSTGRESQL
203*4882a593Smuzhiyun	help
204*4882a593Smuzhiyun	  Build PostgreSQL plugin
205*4882a593Smuzhiyun
206*4882a593Smuzhiyuncomment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library"
207*4882a593Smuzhiyun	depends on BR2_USE_MMU
208*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
209*4882a593Smuzhiyun
210*4882a593Smuzhiyuncomment "PostgreSQL plugin can't be built with optimize for fast"
211*4882a593Smuzhiyun	depends on BR2_USE_MMU
212*4882a593Smuzhiyun	depends on BR2_OPTIMIZE_FAST
213*4882a593Smuzhiyun
214*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_SQLITE
215*4882a593Smuzhiyun	bool "SQLite plugin"
216*4882a593Smuzhiyun	select BR2_PACKAGE_SQLITE
217*4882a593Smuzhiyun	select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
218*4882a593Smuzhiyun	help
219*4882a593Smuzhiyun	  Build SQLite plugin
220*4882a593Smuzhiyun
221*4882a593Smuzhiyunendif
222*4882a593Smuzhiyun
223*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_SYSLOG
224*4882a593Smuzhiyun	bool "syslog support"
225*4882a593Smuzhiyun	help
226*4882a593Smuzhiyun	  Logs to the standard UNIX logging mechanism.
227*4882a593Smuzhiyun
228*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_TEST
229*4882a593Smuzhiyun	bool "test module"
230*4882a593Smuzhiyun	help
231*4882a593Smuzhiyun	  This options enables the Qt6Test library.
232*4882a593Smuzhiyun
233*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_TSLIB
234*4882a593Smuzhiyun	bool "Enable Tslib support"
235*4882a593Smuzhiyun	select BR2_PACKAGE_TSLIB
236*4882a593Smuzhiyun	help
237*4882a593Smuzhiyun	  This options enables the Tslib plugin
238*4882a593Smuzhiyun
239*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_XML
240*4882a593Smuzhiyun	bool "XML module"
241*4882a593Smuzhiyun	help
242*4882a593Smuzhiyun	  This options enables the Qt6Xml library.
243*4882a593Smuzhiyun
244*4882a593Smuzhiyunconfig BR2_PACKAGE_QT6BASE_EXAMPLES
245*4882a593Smuzhiyun	bool "Compile and install examples (with code)"
246*4882a593Smuzhiyun	select BR2_PACKAGE_QT6BASE_NETWORK
247*4882a593Smuzhiyun	select BR2_PACKAGE_QT6BASE_XML
248*4882a593Smuzhiyun	help
249*4882a593Smuzhiyun	  If unsure, say N.
250*4882a593Smuzhiyun
251*4882a593Smuzhiyunendif
252