toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / qt5 / qt5base / Config.in
blob7244fbedc68ff453b988cf23e8edd4bbeb8e84bd
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_LICENSE_APPROVED
20         bool "Approve free license"
21         help
22           Select this if you approve one of the available free licenses for the
23           Qt5 library.
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
32         string "Config file"
33         help
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
39           in the Qt sources.
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
48         help
49           If unsure, say N.
51 config BR2_PACKAGE_QT5BASE_NETWORK
52         def_bool y
54 config BR2_PACKAGE_QT5BASE_CONCURRENT
55         bool "concurrent module"
56         help
57           This options enables the Qt5Concurrent library.
59 config BR2_PACKAGE_QT5BASE_SQL
60         def_bool y
62 if BR2_PACKAGE_QT5BASE_SQL
63 config BR2_PACKAGE_QT5BASE_MYSQL
64         bool "MySQL Plugin"
65         select BR2_PACKAGE_MYSQL
66         select BR2_PACKAGE_NCURSES
67         select BR2_PACKAGE_READLINE
68         depends on BR2_USE_MMU # mysql
69         help
70           Build MySQL plugin
71           If unsure, say n.
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
78         help
79           Build PostgreSQL plugin
80           If unsure, say n.
82 comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
83         depends on BR2_USE_MMU
84         depends on BR2_STATIC_LIBS
86 choice
87         prompt "SQLite 3 support"
88         default BR2_PACKAGE_QT5BASE_SQLITE_NONE
89         help
90           Select SQLite support.
92 config BR2_PACKAGE_QT5BASE_SQLITE_NONE
93         bool "No sqlite support"
94         help
95           Do not compile any kind of SQLite support.
97 config BR2_PACKAGE_QT5BASE_SQLITE_QT
98         bool "Qt SQLite"
99         help
100           Use Qt bundled SQLite support.
102 config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
103         bool "System SQLite"
104         select BR2_PACKAGE_SQLITE
105         help
106           Use system SQLite.
108 endchoice
110 endif
112 config BR2_PACKAGE_QT5BASE_TEST
113         def_bool y
115 config BR2_PACKAGE_QT5BASE_XML
116         def_bool y
118 config BR2_PACKAGE_QT5BASE_GUI
119         bool "gui module"
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
126         help
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
134         help
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
143         help
144           This option enables OpenGL support.
146 if BR2_PACKAGE_QT5BASE_OPENGL
148 choice
149         prompt "OpenGL API"
150         help
151           Select OpenGL API.
153 config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
154         bool "Desktop OpenGL"
155         depends on BR2_PACKAGE_HAS_LIBGL
156         help
157           Use desktop OpenGL.
159 config BR2_PACKAGE_QT5BASE_OPENGL_ES2
160         bool "OpenGL ES 2.0+"
161         depends on BR2_PACKAGE_HAS_LIBGLES
162         help
163           Use OpenGL ES 2.0 and later versions.
165 endchoice
167 config BR2_PACKAGE_QT5BASE_OPENGL_LIB
168         bool "opengl module"
169         select BR2_PACKAGE_QT5BASE_WIDGETS
170         help
171           This option enables the Qt5OpenGL library. This library includes
172           OpenGL support classes provided to ease porting from Qt 4.x.
174 endif
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
200         bool "eglfs support"
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"
210         help
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
221         def_bool y
223 config BR2_PACKAGE_QT5BASE_FONTCONFIG
224         bool "fontconfig support"
225         select BR2_PACKAGE_FONTCONFIG
226         help
227           This option enables Fontconfig and Freetype support using
228           the system fontconfig and freetype2 libraries.
230 config BR2_PACKAGE_QT5BASE_GIF
231         bool "GIF support"
232         help
233           This compiles and installs the plugin for GIF reading support.
235 config BR2_PACKAGE_QT5BASE_JPEG
236         bool "JPEG support"
237         select BR2_PACKAGE_JPEG
238         help
239           This option enables JPEG support using the system libjpeg
240           library.
242 config BR2_PACKAGE_QT5BASE_PNG
243         bool "PNG support"
244         select BR2_PACKAGE_LIBPNG
245         help
246           This option enables PNG support using the system libpng
247           library.
249 endif
251 config BR2_PACKAGE_QT5BASE_DBUS
252         bool "DBus module"
253         select BR2_PACKAGE_DBUS
254         depends on BR2_TOOLCHAIN_HAS_THREADS
255         depends on BR2_USE_MMU
256         help
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
263         help
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
271         help
272           This options enables the Tslib plugin
274 comment "tslib support needs a toolchain w/ dynamic library"
275         depends on BR2_STATIC_LIBS
277 endif