The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / qt / Config.in
1 comment "qt needs a toolchain w/ C++, threads"
2         depends on BR2_USE_MMU
3         depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
4
5 menuconfig BR2_PACKAGE_QT
6         bool "Qt"
7         depends on BR2_USE_MMU # fork
8         depends on BR2_INSTALL_LIBSTDCPP
9         depends on BR2_TOOLCHAIN_HAS_THREADS
10         help
11           Qt is a cross-platform application and UI framework for
12           developers using C++.
13
14           http://qt-project.org
15
16 if BR2_PACKAGE_QT
17
18 choice
19         prompt "Qt installation"
20         help
21           Selects the type of installation: standard or embedded
22
23 config BR2_PACKAGE_QT_EMBEDDED
24         bool "Qt embedded"
25         help
26           The embedded Qt installation targets embedded systems without X.org.
27           Provides backends for framebuffer.
28           If unsure, say Y.
29
30 comment "Qt standard (X11) not available (need X.org)"
31         depends on !BR2_PACKAGE_XORG7
32
33 config BR2_PACKAGE_QT_X11
34         bool "Qt standard (X11)"
35         depends on BR2_PACKAGE_XORG7
36         select BR2_PACKAGE_FONTCONFIG
37         select BR2_PACKAGE_XLIB_LIBXI
38         select BR2_PACKAGE_XLIB_LIBX11
39         select BR2_PACKAGE_XLIB_LIBXRENDER
40         select BR2_PACKAGE_XLIB_LIBXCURSOR
41         select BR2_PACKAGE_XLIB_LIBXRANDR
42         select BR2_PACKAGE_XLIB_LIBXEXT
43         select BR2_PACKAGE_XLIB_LIBXV
44         select BR2_PACKAGE_QT_SYSTEMFREETYPE
45         select BR2_PACKAGE_QT_GUI_MODULE
46         help
47           The standard Qt installation provides X.org backend. If you don't want to
48           use X.org, say N.
49
50 endchoice
51
52 config BR2_PACKAGE_QT_DEBUG
53         bool "Compile with debug support"
54         help
55           If unsure, say N.
56
57 config BR2_PACKAGE_QT_DEMOS
58         bool "Compile and install Qt demos (with code)"
59         select BR2_PACKAGE_QT_GUI_MODULE
60         help
61           If unsure, say N.
62
63 config BR2_PACKAGE_QT_TRANSLATION_FILES
64         bool "Install translation files"
65         help
66           Install binary .qm translation files.
67           Say y if you need these files. They will take about 8 MB
68           on the target root filesystem.
69
70 config BR2_PACKAGE_QT_EXAMPLES
71         bool "Compile and install Qt examples (with code)"
72         select BR2_PACKAGE_QT_GUI_MODULE
73         help
74           If unsure, say N.
75
76 choice
77         prompt "Library type"
78         help
79           Selects the library type: Shared or Static
80
81 config BR2_PACKAGE_QT_SHARED
82         bool "Shared library"
83         depends on !BR2_STATIC_LIBS
84         help
85           Create and use shared Qt libraries.
86           If you have multiple programs that depend on Qt or intend to use
87           plugins, say Y.
88
89 config BR2_PACKAGE_QT_STATIC
90         bool "Static Library"
91         help
92           Create and use static Qt libraries.
93           If you don't have multiple programs on the target that depends on
94           Qt, then this will save you quite some of storage space.
95           If unsure, say Y.
96
97 endchoice
98
99 config BR2_PACKAGE_QT_LICENSE_APPROVED
100         bool "Approve free license"
101         help
102           Select this if you approve one of the available free licenses for the
103           Qt4 library.
104           By doing this you will not be asked while the library is compiled.
105           Please read and understand the license terms before approving this.
106
107           LGPL v2.1: http://doc.trolltech.com/4.5/lgpl.html
108           GPL  v3.0: http://doc.trolltech.com/4.5/gpl.html
109
110 config BR2_PACKAGE_QT_CONFIG_FILE
111         string "Config file"
112         help
113           Configure options allow to set which modules are being
114           compiled or not in Qt, but Qt also provide a more
115           fine-grained mechanism to configure which features should be
116           enabled or disabled, through a header file. Examples of such
117           header files can be found in src/corelib/global/qconfig-*.h
118           in the Qt sources.
119
120           This option allows to set the path of such a configuration
121           file, which Buildroot will give to Qt at compile time.
122
123 config BR2_PACKAGE_QT_QT3SUPPORT
124         bool "Compatibility with Qt3"
125         depends on BR2_PACKAGE_QT_GUI_MODULE
126         help
127           Turns on support for older Qt3. This will create an additional
128           library with proxy code and increase the space required on target.
129           If unsure say n.
130
131 config BR2_PACKAGE_QT_GUI_MODULE
132         bool "Gui Module"
133         select BR2_PACKAGE_QT_NETWORK
134         default y
135         help
136           Turns on support for Gui applications. If your board doesn't have
137           video output, or you don't require Qt GUI, say n.
138
139 if BR2_PACKAGE_QT_GUI_MODULE
140
141 if BR2_PACKAGE_QT_EMBEDDED
142
143 menu "Pixel depths"
144 comment "Deselecting each option leads to Qt's default (8,16,32)"
145
146 config BR2_PACKAGE_QT_PIXEL_DEPTH_1
147         bool "1 bpp, black/white"
148
149 config BR2_PACKAGE_QT_PIXEL_DEPTH_4
150         bool "4 bpp, grayscale"
151
152 config BR2_PACKAGE_QT_PIXEL_DEPTH_8
153         bool "8 bpp, paletted"
154         default y
155
156 config BR2_PACKAGE_QT_PIXEL_DEPTH_12
157         bool "12 bpp, rgb 4-4-4"
158
159 config BR2_PACKAGE_QT_PIXEL_DEPTH_15
160         bool "15 bpp, rgb 5-5-5"
161
162 config BR2_PACKAGE_QT_PIXEL_DEPTH_16
163         bool "16 bpp, rgb 5-6-5"
164         default y
165
166 config BR2_PACKAGE_QT_PIXEL_DEPTH_18
167         bool "18 bpp, rgb 6-6-6"
168
169 config BR2_PACKAGE_QT_PIXEL_DEPTH_24
170         bool "24 bpp, rgb 8-8-8"
171
172 config BR2_PACKAGE_QT_PIXEL_DEPTH_32
173         bool "32 bpp, argb 8-8-8-8 and rgb 8-8-8"
174         default y
175
176 endmenu
177
178 menu "Fonts"
179
180 config BR2_PACKAGE_QT_FONT_MICRO
181         bool "micro"
182         default y
183
184 config BR2_PACKAGE_QT_FONT_FIXED
185         bool "fixed"
186         default y
187
188 config BR2_PACKAGE_QT_FONT_HELVETICA
189         bool "helvetica"
190         default y
191
192 config BR2_PACKAGE_QT_FONT_JAPANESE
193         bool "japanese"
194
195 config BR2_PACKAGE_QT_FONT_UNIFONT
196         bool "unicode"
197
198 endmenu
199
200 endif # BR2_PACKAGE_QT_EMBEDDED
201
202 choice
203         prompt "freetype2 support"
204         default BR2_PACKAGE_QT_NOFREETYPE
205         help
206           Select freetype2 support.
207
208 config BR2_PACKAGE_QT_NOFREETYPE
209         bool "no freetype2 support"
210         depends on BR2_PACKAGE_QT_EMBEDDED
211         help
212           Do not compile in Freetype2 support.
213
214 comment "Qt freetype2 needs Qt embedded"
215         depends on BR2_PACKAGE_QT_X11
216
217 config BR2_PACKAGE_QT_QTFREETYPE
218         bool "Qt freetype2"
219         depends on BR2_PACKAGE_QT_EMBEDDED
220         help
221           Use the libfreetype bundled with Qt.
222
223 config BR2_PACKAGE_QT_SYSTEMFREETYPE
224         bool "System freetype2"
225         select BR2_PACKAGE_FREETYPE
226         help
227           Use shared libfreetype from the target system.
228           See http://www.freetype.org/
229 endchoice
230
231 config BR2_PACKAGE_QT_GIF
232         bool "Enable GIF support"
233         help
234           This compiles and installs the plugin for GIF reading support.
235
236 config BR2_PACKAGE_QT_LIBMNG
237         bool "Enable libmng support"
238         help
239           This compiles and installs the plugin for MNG support.
240
241 choice
242         prompt "JPEG support"
243         default BR2_PACKAGE_QT_NOJPEG
244         help
245           Select libjpeg support.
246
247 config BR2_PACKAGE_QT_NOJPEG
248         bool "No jpeg support"
249         help
250           Disable JPEG support
251
252 config BR2_PACKAGE_QT_SYSTEMJPEG
253         select BR2_PACKAGE_JPEG
254         bool "System libjpeg"
255         help
256           Link against system libjpeg
257
258 config BR2_PACKAGE_QT_QTJPEG
259         bool "Use Qt bundled libjpeg"
260         help
261           Link against libjpeg proveded with Qt
262 endchoice
263
264 choice
265         prompt "PNG support"
266         default BR2_PACKAGE_QT_NOPNG
267         help
268           Select which library to use if PNG support should be enabled.
269
270 config BR2_PACKAGE_QT_NOPNG
271         bool "No PNG support"
272
273 config BR2_PACKAGE_QT_SYSTEMPNG
274         bool "System libpng"
275         select BR2_PACKAGE_LIBPNG
276
277 config BR2_PACKAGE_QT_QTPNG
278         bool "Use Qt bundled libpng"
279 endchoice
280
281 choice
282         prompt "TIFF support"
283         default BR2_PACKAGE_QT_NOTIFF
284         help
285           Select which library to use if TIFF support should be enabled.
286
287 config BR2_PACKAGE_QT_NOTIFF
288         bool "No TIFF support"
289
290 config BR2_PACKAGE_QT_SYSTEMTIFF
291         bool "System libtiff"
292         select BR2_PACKAGE_TIFF
293
294 config BR2_PACKAGE_QT_QTTIFF
295         bool "Use Qt bundled libtiff"
296 endchoice
297
298 endif # BR2_PACKAGE_QT_GUI_MODULE
299
300 choice
301         prompt "zlib support"
302         default BR2_PACKAGE_QT_QTZLIB
303         help
304           Select zlib support.
305
306 config BR2_PACKAGE_QT_QTZLIB
307         bool "Qt zlib"
308         help
309           Use the zlib bundled with Qt.
310
311 config BR2_PACKAGE_QT_SYSTEMZLIB
312         bool "System zlib"
313         select BR2_PACKAGE_ZLIB
314         help
315           Use the shared zlib from the system.
316 endchoice
317
318 source "package/qt/Config.sql.in"
319 if BR2_PACKAGE_QT_GUI_MODULE
320 if BR2_PACKAGE_QT_EMBEDDED
321 source "package/qt/Config.gfx.in"
322 source "package/qt/Config.mouse.in"
323 source "package/qt/Config.keyboard.in"
324 endif
325
326 config BR2_PACKAGE_QT_PHONON
327         bool "Phonon Module"
328         depends on BR2_PACKAGE_GSTREAMER
329         select BR2_PACKAGE_GST_PLUGINS_BASE
330         default y
331         help
332           Build the Phonon module. Support for different audio/video
333           formats can be configured at the GStreamer package.
334           If unsure, say n.
335
336 comment "Phonon module needs gstreamer"
337         depends on !BR2_PACKAGE_GSTREAMER
338
339 config BR2_PACKAGE_QT_PHONON_BACKEND
340         bool "Phonon Module Backend"
341         depends on BR2_PACKAGE_QT_PHONON
342         help
343           Build the platform Phonon plugin.
344           If unsure, say n.
345
346 config BR2_PACKAGE_QT_OPENGL_ES
347         bool "OpenGL ES v2.x support"
348         depends on BR2_PACKAGE_HAS_LIBGLES
349         depends on BR2_PACKAGE_HAS_LIBEGL
350         help
351           Enable the OpenGL ES v2.x support.
352
353 endif
354
355 config BR2_PACKAGE_QT_DBUS
356         bool "DBus Module"
357         select BR2_PACKAGE_DBUS
358         depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
359         depends on BR2_USE_MMU # dbus
360         help
361           Build the Qt DBus module.
362
363 comment "DBus Module needs a toolchain w/ threads"
364         depends on BR2_USE_MMU
365         depends on !BR2_TOOLCHAIN_HAS_THREADS
366
367 config BR2_PACKAGE_QT_XML
368         bool "XML Module"
369         default y
370         help
371           Build the XML module.
372
373 config BR2_PACKAGE_QT_XMLPATTERNS
374         bool "XML Patterns Module"
375         depends on BR2_PACKAGE_QT_XML
376         help
377           Build QtXmlPatterns module.
378           If unsure, say n
379
380 config BR2_PACKAGE_QT_MULTIMEDIA
381         bool "Multimedia Module"
382         depends on BR2_PACKAGE_QT_GUI_MODULE
383         help
384           Build QtMultimedia module.
385
386 config BR2_PACKAGE_QT_AUDIO_BACKEND
387         bool "QtMultimedia Audio backend"
388         depends on BR2_PACKAGE_QT_MULTIMEDIA
389         select BR2_PACKAGE_ALSA_LIB
390         depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
391         help
392           Build the ALSA audio backend into QtMultimedia
393
394 config BR2_PACKAGE_QT_SVG
395         bool "SVG Module"
396         depends on BR2_PACKAGE_QT_GUI_MODULE
397         help
398           Build the SVG module.
399           If unsure, say n
400
401 config BR2_PACKAGE_QT_NETWORK
402         bool "Network Module"
403         default y
404         help
405           Install the Network module.
406           if unsure, say y
407
408 config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
409         bool
410         # see src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
411         # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
412         default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazeel || \
413                 BR2_microblazebe || BR2_mips || BR2_mipsel || \
414                 (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_NABI32 || BR2_powerpc || \
415                 BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || BR2_x86_64
416         # The CodeSourcery SuperH toolchain fails to build Webkit,
417         # with an assertion failure in binutils.
418         default y if (BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb) && \
419                 !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
420
421 config BR2_PACKAGE_QT_WEBKIT
422         bool "WebKit Module"
423         depends on BR2_PACKAGE_QT_SCRIPT
424         depends on BR2_PACKAGE_QT_SHARED
425         depends on BR2_PACKAGE_QT_GUI_MODULE
426         depends on BR2_PACKAGE_QT_NETWORK
427         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
428         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
429         help
430           Build the WebKit module.
431           If unsure, say n.
432
433 comment "WebKit needs shared library/NPTL toolchain/script/gui/network support"
434         depends on !(BR2_PACKAGE_QT_SCRIPT && BR2_PACKAGE_QT_SHARED && \
435                 BR2_PACKAGE_QT_GUI_MODULE && BR2_PACKAGE_QT_NETWORK)
436         depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
437         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
438
439 config BR2_PACKAGE_QT_STL
440         bool "STL support"
441         help
442           Compile STL support.
443           If unsure, say n.
444
445 config BR2_PACKAGE_QT_OPENSSL
446         bool "Enable OpenSSL support"
447         depends on BR2_PACKAGE_QT_NETWORK
448         select BR2_PACKAGE_OPENSSL
449         help
450           Enable support for the OpenSSL encryption library. If you use
451           QSslSocket say y here, otherwise, say no to save space on the
452           target.
453           If unsure, say n.
454
455 config BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
456         bool
457         # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
458         default y if BR2_arm || BR2_armeb || aarch64 || BR2_i386 || \
459                 BR2_microblazeel || BR2_microblazebe || BR2_mips || BR2_mipsel || \
460                 BR2_mips64 || BR2_mips64el || BR2_nios2 || BR2_powerpc || \
461                 BR2_powerpc64 || BR2_powerpc64le || BR2_sh4 || BR2_sh4eb || \
462                 BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64
463
464 config BR2_PACKAGE_QT_SCRIPT
465         bool "Script Module"
466         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
467         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
468         default y
469         help
470           Build the Qt Script module.
471           if unsure, say y.
472
473 comment "Script Module needs a toolchain with NPTL"
474         depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
475         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
476
477 config BR2_PACKAGE_QT_SCRIPTTOOLS
478         bool "Script Tools Module"
479         depends on BR2_PACKAGE_QT_SCRIPT
480         depends on BR2_PACKAGE_QT_GUI_MODULE
481         help
482           Build the Qt Script Tools module.
483           if unsure, say n.
484
485 config BR2_PACKAGE_QT_DECLARATIVE
486         bool "Declarative module"
487         depends on BR2_PACKAGE_QT_SCRIPT
488         depends on BR2_PACKAGE_QT_GUI_MODULE
489         depends on BR2_PACKAGE_QT_SQL_MODULE
490         help
491           Build the Qt Declarative Module for qml support
492           if unsure, say n.
493
494 config BR2_PACKAGE_QT_TEST
495         bool "Test Module"
496         help
497           Install the Test module.
498
499 endif # BR2_PACKAGE_QT