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_EXAMPLES
32 bool "Compile and install examples (with code)"
33 select BR2_PACKAGE_QT5BASE_NETWORK
34 select BR2_PACKAGE_QT5BASE_XML
38 config BR2_PACKAGE_QT5BASE_NETWORK
41 config BR2_PACKAGE_QT5BASE_CONCURRENT
42 bool "concurrent module"
44 This options enables the Qt5Concurrent library.
46 config BR2_PACKAGE_QT5BASE_SQL
49 if BR2_PACKAGE_QT5BASE_SQL
50 config BR2_PACKAGE_QT5BASE_MYSQL
52 select BR2_PACKAGE_MYSQL
53 select BR2_PACKAGE_NCURSES
54 select BR2_PACKAGE_READLINE
55 depends on BR2_USE_MMU # mysql
60 config BR2_PACKAGE_QT5BASE_PSQL
61 bool "PostgreSQL Plugin"
62 select BR2_PACKAGE_POSTGRESQL
63 depends on BR2_USE_MMU # postgresql
64 depends on !BR2_STATIC_LIBS
66 Build PostgreSQL plugin
69 comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
70 depends on BR2_USE_MMU
71 depends on BR2_STATIC_LIBS
74 prompt "SQLite 3 support"
75 default BR2_PACKAGE_QT5BASE_SQLITE_NONE
77 Select SQLite support.
79 config BR2_PACKAGE_QT5BASE_SQLITE_NONE
80 bool "No sqlite support"
82 Do not compile any kind of SQLite support.
84 config BR2_PACKAGE_QT5BASE_SQLITE_QT
87 Use Qt bundled SQLite support.
89 config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
91 select BR2_PACKAGE_SQLITE
99 config BR2_PACKAGE_QT5BASE_TEST
102 config BR2_PACKAGE_QT5BASE_XML
105 config BR2_PACKAGE_QT5BASE_GUI
107 # At least one graphic backend must be enabled, so enable
108 # linuxfb if nothing is enabled.
109 select BR2_PACKAGE_QT5BASE_LINUXFB if \
110 !BR2_PACKAGE_QT5BASE_DIRECTFB && \
111 !BR2_PACKAGE_QT5BASE_XCB && \
112 !BR2_PACKAGE_QT5BASE_EGLFS
114 This option enables the Qt5Gui library.
116 if BR2_PACKAGE_QT5BASE_GUI
118 config BR2_PACKAGE_QT5BASE_WIDGETS
119 bool "widgets module"
120 select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
122 This option enables the Qt5Widgets library.
124 comment "OpenGL support needs an OpenGL-capable backend"
125 depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
127 config BR2_PACKAGE_QT5BASE_OPENGL
128 bool "OpenGL support"
129 depends on BR2_PACKAGE_QT5_GL_AVAILABLE
131 This option enables OpenGL support.
133 if BR2_PACKAGE_QT5BASE_OPENGL
140 config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
141 bool "Desktop OpenGL"
142 depends on BR2_PACKAGE_HAS_LIBGL
146 config BR2_PACKAGE_QT5BASE_OPENGL_ES2
147 bool "OpenGL ES 2.0+"
148 depends on BR2_PACKAGE_HAS_LIBGLES
150 Use OpenGL ES 2.0 and later versions.
154 config BR2_PACKAGE_QT5BASE_OPENGL_LIB
156 select BR2_PACKAGE_QT5BASE_WIDGETS
158 This option enables the Qt5OpenGL library. This library includes
159 OpenGL support classes provided to ease porting from Qt 4.x.
163 config BR2_PACKAGE_QT5BASE_LINUXFB
164 bool "linuxfb support"
166 config BR2_PACKAGE_QT5BASE_DIRECTFB
167 bool "directfb support"
168 select BR2_PACKAGE_DIRECTFB
170 config BR2_PACKAGE_QT5BASE_XCB
171 bool "X.org XCB support"
172 depends on BR2_PACKAGE_XORG7
173 select BR2_PACKAGE_XLIB_LIBX11
174 select BR2_PACKAGE_LIBXCB
175 select BR2_PACKAGE_XCB_UTIL_IMAGE
176 select BR2_PACKAGE_XCB_UTIL_KEYSYMS
177 select BR2_PACKAGE_XCB_UTIL_WM
178 select BR2_PACKAGE_LIBXKBCOMMON
180 comment "X.org XCB backend available if X.org is enabled"
181 depends on !BR2_PACKAGE_XORG7
183 config BR2_PACKAGE_QT5BASE_EGLFS
185 select BR2_PACKAGE_QT5BASE_OPENGL
186 depends on BR2_PACKAGE_HAS_LIBEGL
187 depends on BR2_PACKAGE_QT5_GL_AVAILABLE
189 comment "eglfs backend available if OpenGL and EGL are enabled"
190 depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
192 config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
193 string "Default graphical platform"
195 Choose the default platform abstraction to use for graphical
196 applications (e.g xcb, linuxfb, eglfs, ...). If this is empty, the
197 default for your architecture will be used (usually this is eglfs).
199 You can get a list of supported platforms by running a Qt application
200 with the option "-platform help" on your target. You can choose a
201 different platform at runtime with the -platform option.
203 config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
204 depends on BR2_PACKAGE_QT5BASE_WIDGETS
207 config BR2_PACKAGE_QT5BASE_FONTCONFIG
208 bool "fontconfig support"
209 select BR2_PACKAGE_FONTCONFIG
211 This option enables Fontconfig and Freetype support using
212 the system fontconfig and freetype2 libraries.
214 config BR2_PACKAGE_QT5BASE_GIF
217 This compiles and installs the plugin for GIF reading support.
219 config BR2_PACKAGE_QT5BASE_JPEG
221 select BR2_PACKAGE_JPEG
223 This option enables JPEG support using the system libjpeg
226 config BR2_PACKAGE_QT5BASE_PNG
228 select BR2_PACKAGE_LIBPNG
230 This option enables PNG support using the system libpng
235 config BR2_PACKAGE_QT5BASE_DBUS
237 select BR2_PACKAGE_DBUS
238 depends on BR2_TOOLCHAIN_HAS_THREADS
239 depends on BR2_USE_MMU
241 This option enables the D-Bus module.
243 config BR2_PACKAGE_QT5BASE_ICU
244 bool "Enable ICU support"
245 select BR2_PACKAGE_ICU
246 depends on BR2_ARCH_HAS_ATOMICS # icu
247 depends on !BR2_BINFMT_FLAT # icu
249 This option enables ICU support in Qt5. This is for example
250 needed for Qt5Webkit.
252 config BR2_PACKAGE_QT5BASE_TSLIB
253 bool "Enable Tslib support"
254 depends on !BR2_STATIC_LIBS # dlopen
255 select BR2_PACKAGE_TSLIB
257 This options enables the Tslib plugin
259 comment "tslib support needs a toolchain w/ dynamic library"
260 depends on BR2_STATIC_LIBS