1 config BR2_PACKAGE_QT5BASE
3 select BR2_PACKAGE_ZLIB
4 select BR2_PACKAGE_PCRE
5 select BR2_PACKAGE_PCRE_16
6 select BR2_PACKAGE_PCRE_UTF
8 Qt is a cross-platform application and UI framework for
11 This package corresponds to the qt5base module, which
12 contains the base Qt libraries: QtCore, QtNetwork, QtGui,
17 if BR2_PACKAGE_QT5BASE
19 config BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS
20 string "Custom configuration options"
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"
33 Select this if you approve one of the available free licenses for the
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
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
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
62 config BR2_PACKAGE_QT5BASE_NETWORK
65 config BR2_PACKAGE_QT5BASE_CONCURRENT
66 bool "concurrent module"
68 This options enables the Qt5Concurrent library.
70 config BR2_PACKAGE_QT5BASE_SQL
73 if BR2_PACKAGE_QT5BASE_SQL
74 config BR2_PACKAGE_QT5BASE_MYSQL
76 select BR2_PACKAGE_MYSQL
77 select BR2_PACKAGE_NCURSES
78 select BR2_PACKAGE_READLINE
79 depends on BR2_USE_MMU # mysql
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
90 Build PostgreSQL plugin
93 comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
94 depends on BR2_USE_MMU
95 depends on BR2_STATIC_LIBS
98 prompt "SQLite 3 support"
99 default BR2_PACKAGE_QT5BASE_SQLITE_NONE
101 Select SQLite support.
103 config BR2_PACKAGE_QT5BASE_SQLITE_NONE
104 bool "No sqlite support"
106 Do not compile any kind of SQLite support.
108 config BR2_PACKAGE_QT5BASE_SQLITE_QT
111 Use Qt bundled SQLite support.
113 config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
115 select BR2_PACKAGE_SQLITE
123 config BR2_PACKAGE_QT5BASE_TEST
126 config BR2_PACKAGE_QT5BASE_XML
129 config BR2_PACKAGE_QT5BASE_GUI
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
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
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
156 This option enables OpenGL support.
158 if BR2_PACKAGE_QT5BASE_OPENGL
165 config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
166 bool "Desktop OpenGL"
167 depends on BR2_PACKAGE_HAS_LIBGL
171 config BR2_PACKAGE_QT5BASE_OPENGL_ES2
172 bool "OpenGL ES 2.0+"
173 depends on BR2_PACKAGE_HAS_LIBGLES
175 Use OpenGL ES 2.0 and later versions.
179 config BR2_PACKAGE_QT5BASE_OPENGL_LIB
181 select BR2_PACKAGE_QT5BASE_WIDGETS
183 This option enables the Qt5OpenGL library. This library includes
184 OpenGL support classes provided to ease porting from Qt 4.x.
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
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"
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
235 config BR2_PACKAGE_QT5BASE_FONTCONFIG
236 bool "fontconfig support"
237 select BR2_PACKAGE_FONTCONFIG
239 This option enables Fontconfig and Freetype support using
240 the system fontconfig and freetype2 libraries.
242 config BR2_PACKAGE_QT5BASE_GIF
245 This compiles and installs the plugin for GIF reading support.
247 config BR2_PACKAGE_QT5BASE_JPEG
249 select BR2_PACKAGE_JPEG
251 This option enables JPEG support using the system libjpeg
254 config BR2_PACKAGE_QT5BASE_PNG
256 select BR2_PACKAGE_LIBPNG
258 This option enables PNG support using the system libpng
263 config BR2_PACKAGE_QT5BASE_DBUS
265 select BR2_PACKAGE_DBUS
266 depends on BR2_TOOLCHAIN_HAS_THREADS
267 depends on BR2_USE_MMU
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
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
284 This options enables the Tslib plugin
286 comment "tslib support needs a toolchain w/ dynamic library"
287 depends on BR2_STATIC_LIBS