python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / qt5 / qt5base / Config.in
blob337dcf245427956f8d1757844f74d9cb86f93a2f
1 config BR2_PACKAGE_QT5BASE
2         bool "qt5base"
3         select BR2_PACKAGE_ZLIB
4         select BR2_PACKAGE_PCRE
5         select BR2_PACKAGE_PCRE_16
6         select BR2_PACKAGE_PCRE_UTF
7         help
8           Qt is a cross-platform application and UI framework for
9           developers using C++.
11           This package corresponds to the qt5base module, which
12           contains the base Qt libraries: QtCore, QtNetwork, QtGui,
13           QtWidgets, etc.
15           http://qt.io
17 if BR2_PACKAGE_QT5BASE
19 config BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS
20         string "Custom configuration options"
21         help
22           Define custom qt5 configuration options which can be used to
23           enable or disable options not managed by buildroot. These
24           options are appended to the ones generated by buildroot and
25           passed to qt5base during configuration.
27           E.g. to remove the Windows Vista style option, add the option
28           -no-feature-style_windowsvista.
30 config BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
31         bool "Approve free license"
32         help
33           Select this if you approve one of the available free licenses for the
34           Qt5 library.
35           By doing this you will not be asked while the library is compiled.
36           Please read and understand the license terms before approving this.
38           LGPL: http://doc.qt.io/qt-5/lgpl.html
40           See also http://doc.qt.io/qt-5/licensing.html
42 config BR2_PACKAGE_QT5BASE_CONFIG_FILE
43         string "Config file"
44         help
45           Configure options allow to set which modules are being
46           compiled or not in Qt, but Qt also provide a more
47           fine-grained mechanism to configure which features should be
48           enabled or disabled, through a header file. Examples of such
49           header files can be found in src/corelib/global/qconfig-*.h
50           in the Qt sources.
52           This option allows to set the path of such a configuration
53           file, which Buildroot will give to Qt at compile time.
55 config BR2_PACKAGE_QT5BASE_EXAMPLES
56         bool "Compile and install examples (with code)"
57         select BR2_PACKAGE_QT5BASE_NETWORK
58         select BR2_PACKAGE_QT5BASE_XML
59         help
60           If unsure, say N.
62 config BR2_PACKAGE_QT5BASE_NETWORK
63         def_bool y
65 config BR2_PACKAGE_QT5BASE_CONCURRENT
66         bool "concurrent module"
67         help
68           This options enables the Qt5Concurrent library.
70 config BR2_PACKAGE_QT5BASE_SQL
71         def_bool y
73 if BR2_PACKAGE_QT5BASE_SQL
74 config BR2_PACKAGE_QT5BASE_MYSQL
75         bool "MySQL Plugin"
76         select BR2_PACKAGE_MYSQL
77         select BR2_PACKAGE_NCURSES
78         select BR2_PACKAGE_READLINE
79         depends on BR2_USE_MMU # mysql
80         help
81           Build MySQL plugin
82           If unsure, say n.
84 config BR2_PACKAGE_QT5BASE_PSQL
85         bool "PostgreSQL Plugin"
86         select BR2_PACKAGE_POSTGRESQL
87         depends on BR2_USE_MMU # postgresql
88         depends on !BR2_STATIC_LIBS
89         help
90           Build PostgreSQL plugin
91           If unsure, say n.
93 comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
94         depends on BR2_USE_MMU
95         depends on BR2_STATIC_LIBS
97 choice
98         prompt "SQLite 3 support"
99         default BR2_PACKAGE_QT5BASE_SQLITE_NONE
100         help
101           Select SQLite support.
103 config BR2_PACKAGE_QT5BASE_SQLITE_NONE
104         bool "No sqlite support"
105         help
106           Do not compile any kind of SQLite support.
108 config BR2_PACKAGE_QT5BASE_SQLITE_QT
109         bool "Qt SQLite"
110         help
111           Use Qt bundled SQLite support.
113 config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
114         bool "System SQLite"
115         select BR2_PACKAGE_SQLITE
116         help
117           Use system SQLite.
119 endchoice
121 endif
123 config BR2_PACKAGE_QT5BASE_TEST
124         def_bool y
126 config BR2_PACKAGE_QT5BASE_XML
127         def_bool y
129 config BR2_PACKAGE_QT5BASE_GUI
130         bool "gui module"
131         select BR2_PACKAGE_FREETYPE
132         # At least one graphic backend must be enabled, so enable
133         # linuxfb if nothing is enabled.
134         select BR2_PACKAGE_QT5BASE_LINUXFB if \
135                !BR2_PACKAGE_QT5BASE_DIRECTFB && \
136                !BR2_PACKAGE_QT5BASE_XCB && \
137                !BR2_PACKAGE_QT5BASE_EGLFS
138         help
139           This option enables the Qt5Gui library.
141 if BR2_PACKAGE_QT5BASE_GUI
143 config BR2_PACKAGE_QT5BASE_WIDGETS
144         bool "widgets module"
145         select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
146         help
147           This option enables the Qt5Widgets library.
149 comment "OpenGL support needs an OpenGL-capable backend"
150         depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
152 config BR2_PACKAGE_QT5BASE_OPENGL
153         bool "OpenGL support"
154         depends on BR2_PACKAGE_QT5_GL_AVAILABLE
155         help
156           This option enables OpenGL support.
158 if BR2_PACKAGE_QT5BASE_OPENGL
160 choice
161         prompt "OpenGL API"
162         help
163           Select OpenGL API.
165 config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
166         bool "Desktop OpenGL"
167         depends on BR2_PACKAGE_HAS_LIBGL
168         help
169           Use desktop OpenGL.
171 config BR2_PACKAGE_QT5BASE_OPENGL_ES2
172         bool "OpenGL ES 2.0+"
173         depends on BR2_PACKAGE_HAS_LIBGLES
174         help
175           Use OpenGL ES 2.0 and later versions.
177 endchoice
179 config BR2_PACKAGE_QT5BASE_OPENGL_LIB
180         bool "opengl module"
181         select BR2_PACKAGE_QT5BASE_WIDGETS
182         help
183           This option enables the Qt5OpenGL library. This library includes
184           OpenGL support classes provided to ease porting from Qt 4.x.
186 endif
188 config BR2_PACKAGE_QT5BASE_LINUXFB
189         bool "linuxfb support"
191 config BR2_PACKAGE_QT5BASE_DIRECTFB
192         bool "directfb support"
193         depends on BR2_PACKAGE_DIRECTFB
195 comment "directfb backend available if directfb is enabled"
196         depends on !BR2_PACKAGE_DIRECTFB
198 config BR2_PACKAGE_QT5BASE_XCB
199         bool "X.org XCB support"
200         depends on BR2_PACKAGE_XORG7
201         select BR2_PACKAGE_XLIB_LIBX11
202         select BR2_PACKAGE_LIBXCB
203         select BR2_PACKAGE_XCB_UTIL_IMAGE
204         select BR2_PACKAGE_XCB_UTIL_KEYSYMS
205         select BR2_PACKAGE_XCB_UTIL_WM
206         select BR2_PACKAGE_LIBXKBCOMMON
208 comment "X.org XCB backend available if X.org is enabled"
209         depends on !BR2_PACKAGE_XORG7
211 config BR2_PACKAGE_QT5BASE_EGLFS
212         bool "eglfs support"
213         select BR2_PACKAGE_QT5BASE_OPENGL
214         depends on BR2_PACKAGE_HAS_LIBEGL
215         depends on BR2_PACKAGE_QT5_GL_AVAILABLE
217 comment "eglfs backend available if OpenGL and EGL are enabled"
218         depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
220 config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
221         string "Default graphical platform"
222         help
223           Choose the default platform abstraction to use for graphical
224           applications (e.g xcb, linuxfb, eglfs, ...). If this is empty, the
225           default for your architecture will be used (usually this is eglfs).
227           You can get a list of supported platforms by running a Qt application
228           with the option "-platform help" on your target. You can choose a
229           different platform at runtime with the -platform option.
231 config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
232         depends on BR2_PACKAGE_QT5BASE_WIDGETS
233         def_bool y
235 config BR2_PACKAGE_QT5BASE_FONTCONFIG
236         bool "fontconfig support"
237         select BR2_PACKAGE_FONTCONFIG
238         help
239           This option enables Fontconfig and Freetype support using
240           the system fontconfig and freetype2 libraries.
242 config BR2_PACKAGE_QT5BASE_GIF
243         bool "GIF support"
244         help
245           This compiles and installs the plugin for GIF reading support.
247 config BR2_PACKAGE_QT5BASE_JPEG
248         bool "JPEG support"
249         select BR2_PACKAGE_JPEG
250         help
251           This option enables JPEG support using the system libjpeg
252           library.
254 config BR2_PACKAGE_QT5BASE_PNG
255         bool "PNG support"
256         select BR2_PACKAGE_LIBPNG
257         help
258           This option enables PNG support using the system libpng
259           library.
261 endif
263 config BR2_PACKAGE_QT5BASE_DBUS
264         bool "DBus module"
265         select BR2_PACKAGE_DBUS
266         depends on BR2_TOOLCHAIN_HAS_THREADS
267         depends on BR2_USE_MMU
268         help
269           This option enables the D-Bus module.
271 config BR2_PACKAGE_QT5BASE_ICU
272         bool "Enable ICU support"
273         select BR2_PACKAGE_ICU
274         depends on !BR2_BINFMT_FLAT # icu
275         help
276           This option enables ICU support in Qt5. This is for example
277           needed for Qt5Webkit.
279 config BR2_PACKAGE_QT5BASE_TSLIB
280         bool "Enable Tslib support"
281         depends on !BR2_STATIC_LIBS # dlopen
282         select BR2_PACKAGE_TSLIB
283         help
284           This options enables the Tslib plugin
286 comment "tslib support needs a toolchain w/ dynamic library"
287         depends on BR2_STATIC_LIBS
289 endif