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_LICENSE_APPROVED
20 bool "Approve free license"
22 Select this if you approve one of the available free licenses for the
24 By doing this you will not be asked while the library is compiled.
25 Please read and understand the license terms before approving this.
27 LGPL: http://doc.qt.io/qt-5/lgpl.html
29 See also http://doc.qt.io/qt-5/licensing.html
31 config BR2_PACKAGE_QT5BASE_CONFIG_FILE
34 Configure options allow to set which modules are being
35 compiled or not in Qt, but Qt also provide a more
36 fine-grained mechanism to configure which features should be
37 enabled or disabled, through a header file. Examples of such
38 header files can be found in src/corelib/global/qconfig-*.h
41 This option allows to set the path of such a configuration
42 file, which Buildroot will give to Qt at compile time.
44 config BR2_PACKAGE_QT5BASE_EXAMPLES
45 bool "Compile and install examples (with code)"
46 select BR2_PACKAGE_QT5BASE_NETWORK
47 select BR2_PACKAGE_QT5BASE_XML
51 config BR2_PACKAGE_QT5BASE_NETWORK
54 config BR2_PACKAGE_QT5BASE_CONCURRENT
55 bool "concurrent module"
57 This options enables the Qt5Concurrent library.
59 config BR2_PACKAGE_QT5BASE_SQL
62 if BR2_PACKAGE_QT5BASE_SQL
63 config BR2_PACKAGE_QT5BASE_MYSQL
65 select BR2_PACKAGE_MYSQL
66 select BR2_PACKAGE_NCURSES
67 select BR2_PACKAGE_READLINE
68 depends on BR2_USE_MMU # mysql
73 config BR2_PACKAGE_QT5BASE_PSQL
74 bool "PostgreSQL Plugin"
75 select BR2_PACKAGE_POSTGRESQL
76 depends on BR2_USE_MMU # postgresql
77 depends on !BR2_STATIC_LIBS
79 Build PostgreSQL plugin
82 comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
83 depends on BR2_USE_MMU
84 depends on BR2_STATIC_LIBS
87 prompt "SQLite 3 support"
88 default BR2_PACKAGE_QT5BASE_SQLITE_NONE
90 Select SQLite support.
92 config BR2_PACKAGE_QT5BASE_SQLITE_NONE
93 bool "No sqlite support"
95 Do not compile any kind of SQLite support.
97 config BR2_PACKAGE_QT5BASE_SQLITE_QT
100 Use Qt bundled SQLite support.
102 config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
104 select BR2_PACKAGE_SQLITE
112 config BR2_PACKAGE_QT5BASE_TEST
115 config BR2_PACKAGE_QT5BASE_XML
118 config BR2_PACKAGE_QT5BASE_GUI
120 # At least one graphic backend must be enabled, so enable
121 # linuxfb if nothing is enabled.
122 select BR2_PACKAGE_QT5BASE_LINUXFB if \
123 !BR2_PACKAGE_QT5BASE_DIRECTFB && \
124 !BR2_PACKAGE_QT5BASE_XCB && \
125 !BR2_PACKAGE_QT5BASE_EGLFS
127 This option enables the Qt5Gui library.
129 if BR2_PACKAGE_QT5BASE_GUI
131 config BR2_PACKAGE_QT5BASE_WIDGETS
132 bool "widgets module"
133 select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
135 This option enables the Qt5Widgets library.
137 comment "OpenGL support needs an OpenGL-capable backend"
138 depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
140 config BR2_PACKAGE_QT5BASE_OPENGL
141 bool "OpenGL support"
142 depends on BR2_PACKAGE_QT5_GL_AVAILABLE
144 This option enables OpenGL support.
146 if BR2_PACKAGE_QT5BASE_OPENGL
153 config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
154 bool "Desktop OpenGL"
155 depends on BR2_PACKAGE_HAS_LIBGL
159 config BR2_PACKAGE_QT5BASE_OPENGL_ES2
160 bool "OpenGL ES 2.0+"
161 depends on BR2_PACKAGE_HAS_LIBGLES
163 Use OpenGL ES 2.0 and later versions.
167 config BR2_PACKAGE_QT5BASE_OPENGL_LIB
169 select BR2_PACKAGE_QT5BASE_WIDGETS
171 This option enables the Qt5OpenGL library. This library includes
172 OpenGL support classes provided to ease porting from Qt 4.x.
176 config BR2_PACKAGE_QT5BASE_LINUXFB
177 bool "linuxfb support"
179 config BR2_PACKAGE_QT5BASE_DIRECTFB
180 bool "directfb support"
181 depends on BR2_PACKAGE_DIRECTFB
183 comment "directfb backend available if directfb is enabled"
184 depends on !BR2_PACKAGE_DIRECTFB
186 config BR2_PACKAGE_QT5BASE_XCB
187 bool "X.org XCB support"
188 depends on BR2_PACKAGE_XORG7
189 select BR2_PACKAGE_XLIB_LIBX11
190 select BR2_PACKAGE_LIBXCB
191 select BR2_PACKAGE_XCB_UTIL_IMAGE
192 select BR2_PACKAGE_XCB_UTIL_KEYSYMS
193 select BR2_PACKAGE_XCB_UTIL_WM
194 select BR2_PACKAGE_LIBXKBCOMMON
196 comment "X.org XCB backend available if X.org is enabled"
197 depends on !BR2_PACKAGE_XORG7
199 config BR2_PACKAGE_QT5BASE_EGLFS
201 select BR2_PACKAGE_QT5BASE_OPENGL
202 depends on BR2_PACKAGE_HAS_LIBEGL
203 depends on BR2_PACKAGE_QT5_GL_AVAILABLE
205 comment "eglfs backend available if OpenGL and EGL are enabled"
206 depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
208 config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
209 string "Default graphical platform"
211 Choose the default platform abstraction to use for graphical
212 applications (e.g xcb, linuxfb, eglfs, ...). If this is empty, the
213 default for your architecture will be used (usually this is eglfs).
215 You can get a list of supported platforms by running a Qt application
216 with the option "-platform help" on your target. You can choose a
217 different platform at runtime with the -platform option.
219 config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
220 depends on BR2_PACKAGE_QT5BASE_WIDGETS
223 config BR2_PACKAGE_QT5BASE_FONTCONFIG
224 bool "fontconfig support"
225 select BR2_PACKAGE_FONTCONFIG
227 This option enables Fontconfig and Freetype support using
228 the system fontconfig and freetype2 libraries.
230 config BR2_PACKAGE_QT5BASE_GIF
233 This compiles and installs the plugin for GIF reading support.
235 config BR2_PACKAGE_QT5BASE_JPEG
237 select BR2_PACKAGE_JPEG
239 This option enables JPEG support using the system libjpeg
242 config BR2_PACKAGE_QT5BASE_PNG
244 select BR2_PACKAGE_LIBPNG
246 This option enables PNG support using the system libpng
251 config BR2_PACKAGE_QT5BASE_DBUS
253 select BR2_PACKAGE_DBUS
254 depends on BR2_TOOLCHAIN_HAS_THREADS
255 depends on BR2_USE_MMU
257 This option enables the D-Bus module.
259 config BR2_PACKAGE_QT5BASE_ICU
260 bool "Enable ICU support"
261 select BR2_PACKAGE_ICU
262 depends on !BR2_BINFMT_FLAT # icu
264 This option enables ICU support in Qt5. This is for example
265 needed for Qt5Webkit.
267 config BR2_PACKAGE_QT5BASE_TSLIB
268 bool "Enable Tslib support"
269 depends on !BR2_STATIC_LIBS # dlopen
270 select BR2_PACKAGE_TSLIB
272 This options enables the Tslib plugin
274 comment "tslib support needs a toolchain w/ dynamic library"
275 depends on BR2_STATIC_LIBS