python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / qt / Config.in
blobfa5235d6f4f9070dc6e91c72a48d583824c79466
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
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++.
14           http://qt-project.org
16 if BR2_PACKAGE_QT
18 choice
19         prompt "Qt installation"
20         help
21           Selects the type of installation: standard or embedded
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.
30 comment "Qt standard (X11) not available (need X.org)"
31         depends on !BR2_PACKAGE_XORG7
33 config BR2_PACKAGE_QT_X11
34         bool "Qt standard (X11)"
35         depends on BR2_PACKAGE_XORG7
36         depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
37         select BR2_PACKAGE_FONTCONFIG
38         select BR2_PACKAGE_XLIB_LIBXI
39         select BR2_PACKAGE_XLIB_LIBX11
40         select BR2_PACKAGE_XLIB_LIBXRENDER
41         select BR2_PACKAGE_XLIB_LIBXCURSOR
42         select BR2_PACKAGE_XLIB_LIBXRANDR
43         select BR2_PACKAGE_XLIB_LIBXEXT
44         select BR2_PACKAGE_XLIB_LIBXV
45         select BR2_PACKAGE_QT_SYSTEMFREETYPE
46         select BR2_PACKAGE_QT_GUI_MODULE
47         help
48           The standard Qt installation provides X.org backend. If you don't want to
49           use X.org, say N.
51 endchoice
53 config BR2_PACKAGE_QT_DEBUG
54         bool "Compile with debug support"
55         help
56           If unsure, say N.
58 config BR2_PACKAGE_QT_DEMOS
59         bool "Compile and install Qt demos (with code)"
60         depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
61         select BR2_PACKAGE_QT_GUI_MODULE
62         help
63           If unsure, say N.
65 config BR2_PACKAGE_QT_TRANSLATION_FILES
66         bool "Install translation files"
67         help
68           Install binary .qm translation files.
69           Say y if you need these files. They will take about 8 MB
70           on the target root filesystem.
72 config BR2_PACKAGE_QT_EXAMPLES
73         bool "Compile and install Qt examples (with code)"
74         depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
75         select BR2_PACKAGE_QT_GUI_MODULE
76         help
77           If unsure, say N.
79 choice
80         prompt "Library type"
81         help
82           Selects the library type: Shared or Static
84 config BR2_PACKAGE_QT_SHARED
85         bool "Shared library"
86         depends on !BR2_STATIC_LIBS
87         help
88           Create and use shared Qt libraries.
89           If you have multiple programs that depend on Qt or intend to use
90           plugins, say Y.
92 config BR2_PACKAGE_QT_STATIC
93         bool "Static Library"
94         help
95           Create and use static Qt libraries.
96           If you don't have multiple programs on the target that depends on
97           Qt, then this will save you quite some of storage space.
98           If unsure, say Y.
100 endchoice
102 config BR2_PACKAGE_QT_LICENSE_APPROVED
103         bool "Approve free license"
104         help
105           Select this if you approve one of the available free licenses for the
106           Qt4 library.
107           By doing this you will not be asked while the library is compiled.
108           Please read and understand the license terms before approving this.
110           LGPL v2.1: http://doc.trolltech.com/4.5/lgpl.html
111           GPL  v3.0: http://doc.trolltech.com/4.5/gpl.html
113 config BR2_PACKAGE_QT_CONFIG_FILE
114         string "Config file"
115         help
116           Configure options allow to set which modules are being
117           compiled or not in Qt, but Qt also provide a more
118           fine-grained mechanism to configure which features should be
119           enabled or disabled, through a header file. Examples of such
120           header files can be found in src/corelib/global/qconfig-*.h
121           in the Qt sources.
123           This option allows to set the path of such a configuration
124           file, which Buildroot will give to Qt at compile time.
126 config BR2_PACKAGE_QT_QT3SUPPORT
127         bool "Compatibility with Qt3"
128         depends on BR2_PACKAGE_QT_GUI_MODULE
129         select BR2_PACKAGE_QT_SQL_MODULE
130         help
131           Turns on support for older Qt3. This will create an additional
132           library with proxy code and increase the space required on target.
133           If unsure say n.
135 config BR2_PACKAGE_QT_GUI_MODULE
136         bool "Gui Module"
137         depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # nios2 Binutils 2.25.1 bug
138         select BR2_PACKAGE_QT_NETWORK
139         default y
140         help
141           Turns on support for Gui applications. If your board doesn't have
142           video output, or you don't require Qt GUI, say n.
144 comment "Qt Gui Module needs a toolchain not affected by Binutils bug 19405"
145         depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
147 if BR2_PACKAGE_QT_GUI_MODULE
149 if BR2_PACKAGE_QT_EMBEDDED
151 menu "Pixel depths"
152 comment "Deselecting each option leads to Qt's default (8,16,32)"
154 config BR2_PACKAGE_QT_PIXEL_DEPTH_1
155         bool "1 bpp, black/white"
157 config BR2_PACKAGE_QT_PIXEL_DEPTH_4
158         bool "4 bpp, grayscale"
160 config BR2_PACKAGE_QT_PIXEL_DEPTH_8
161         bool "8 bpp, paletted"
162         default y
164 config BR2_PACKAGE_QT_PIXEL_DEPTH_12
165         bool "12 bpp, rgb 4-4-4"
167 config BR2_PACKAGE_QT_PIXEL_DEPTH_15
168         bool "15 bpp, rgb 5-5-5"
170 config BR2_PACKAGE_QT_PIXEL_DEPTH_16
171         bool "16 bpp, rgb 5-6-5"
172         default y
174 config BR2_PACKAGE_QT_PIXEL_DEPTH_18
175         bool "18 bpp, rgb 6-6-6"
177 config BR2_PACKAGE_QT_PIXEL_DEPTH_24
178         bool "24 bpp, rgb 8-8-8"
180 config BR2_PACKAGE_QT_PIXEL_DEPTH_32
181         bool "32 bpp, argb 8-8-8-8 and rgb 8-8-8"
182         default y
184 endmenu
186 menu "Fonts"
188 config BR2_PACKAGE_QT_FONT_MICRO
189         bool "micro"
190         default y
192 config BR2_PACKAGE_QT_FONT_FIXED
193         bool "fixed"
194         default y
196 config BR2_PACKAGE_QT_FONT_HELVETICA
197         bool "helvetica"
198         default y
200 config BR2_PACKAGE_QT_FONT_JAPANESE
201         bool "japanese"
203 config BR2_PACKAGE_QT_FONT_UNIFONT
204         bool "unicode"
206 endmenu
208 endif # BR2_PACKAGE_QT_EMBEDDED
210 choice
211         prompt "freetype2 support"
212         default BR2_PACKAGE_QT_NOFREETYPE
213         help
214           Select freetype2 support.
216 config BR2_PACKAGE_QT_NOFREETYPE
217         bool "no freetype2 support"
218         depends on BR2_PACKAGE_QT_EMBEDDED
219         help
220           Do not compile in Freetype2 support.
222 comment "Qt freetype2 needs Qt embedded"
223         depends on BR2_PACKAGE_QT_X11
225 config BR2_PACKAGE_QT_QTFREETYPE
226         bool "Qt freetype2"
227         depends on BR2_PACKAGE_QT_EMBEDDED
228         help
229           Use the libfreetype bundled with Qt.
231 config BR2_PACKAGE_QT_SYSTEMFREETYPE
232         bool "System freetype2"
233         select BR2_PACKAGE_FREETYPE
234         help
235           Use shared libfreetype from the target system.
236           See http://www.freetype.org/
237 endchoice
239 config BR2_PACKAGE_QT_GIF
240         bool "Enable GIF support"
241         help
242           This compiles and installs the plugin for GIF reading support.
244 config BR2_PACKAGE_QT_LIBMNG
245         bool "Enable libmng support"
246         help
247           This compiles and installs the plugin for MNG support.
249 choice
250         prompt "JPEG support"
251         default BR2_PACKAGE_QT_NOJPEG
252         help
253           Select libjpeg support.
255 config BR2_PACKAGE_QT_NOJPEG
256         bool "No jpeg support"
257         help
258           Disable JPEG support
260 config BR2_PACKAGE_QT_SYSTEMJPEG
261         select BR2_PACKAGE_JPEG
262         bool "System libjpeg"
263         help
264           Link against system libjpeg
266 config BR2_PACKAGE_QT_QTJPEG
267         bool "Use Qt bundled libjpeg"
268         help
269           Link against libjpeg provided with Qt
270 endchoice
272 choice
273         prompt "PNG support"
274         default BR2_PACKAGE_QT_NOPNG
275         help
276           Select which library to use if PNG support should be enabled.
278 config BR2_PACKAGE_QT_NOPNG
279         bool "No PNG support"
281 config BR2_PACKAGE_QT_SYSTEMPNG
282         bool "System libpng"
283         select BR2_PACKAGE_LIBPNG
285 config BR2_PACKAGE_QT_QTPNG
286         bool "Use Qt bundled libpng"
287 endchoice
289 choice
290         prompt "TIFF support"
291         default BR2_PACKAGE_QT_NOTIFF
292         help
293           Select which library to use if TIFF support should be enabled.
295 config BR2_PACKAGE_QT_NOTIFF
296         bool "No TIFF support"
298 config BR2_PACKAGE_QT_SYSTEMTIFF
299         bool "System libtiff"
300         select BR2_PACKAGE_TIFF
302 config BR2_PACKAGE_QT_QTTIFF
303         bool "Use Qt bundled libtiff"
304 endchoice
306 config BR2_PACKAGE_QT_ACCESSIBILITY
307         bool "Enable accessibility support"
308         help
309           This enables and compiles the accessibility support.
311 endif # BR2_PACKAGE_QT_GUI_MODULE
313 choice
314         prompt "zlib support"
315         default BR2_PACKAGE_QT_QTZLIB
316         help
317           Select zlib support.
319 config BR2_PACKAGE_QT_QTZLIB
320         bool "Qt zlib"
321         help
322           Use the zlib bundled with Qt.
324 config BR2_PACKAGE_QT_SYSTEMZLIB
325         bool "System zlib"
326         select BR2_PACKAGE_ZLIB
327         help
328           Use the shared zlib from the system.
329 endchoice
331 source "package/qt/Config.sql.in"
332 if BR2_PACKAGE_QT_GUI_MODULE
333 if BR2_PACKAGE_QT_EMBEDDED
334 source "package/qt/Config.gfx.in"
335 source "package/qt/Config.mouse.in"
336 source "package/qt/Config.keyboard.in"
337 endif
339 config BR2_PACKAGE_QT_PHONON
340         bool "Phonon Module"
341         depends on BR2_PACKAGE_GSTREAMER
342         select BR2_PACKAGE_GST_PLUGINS_BASE
343         default y
344         help
345           Build the Phonon module. Support for different audio/video
346           formats can be configured at the GStreamer package.
347           If unsure, say n.
349 comment "Phonon module needs gstreamer"
350         depends on !BR2_PACKAGE_GSTREAMER
352 config BR2_PACKAGE_QT_PHONON_BACKEND
353         bool "Phonon Module Backend"
354         depends on BR2_PACKAGE_QT_PHONON
355         help
356           Build the platform Phonon plugin.
357           If unsure, say n.
359 config BR2_PACKAGE_QT_OPENGL
360         bool "OpenGL support"
361         depends on (BR2_PACKAGE_HAS_LIBGL && BR2_PACKAGE_QT_X11) || \
362                    (BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_HAS_LIBGLES)
363         default y
364         help
365           This option enables OpenGL support.
367 if BR2_PACKAGE_QT_OPENGL
369 choice
370         prompt "OpenGL API"
371         help
372           Select OpenGL API.
374 comment "Desktop OpenGL not available (needs Qt standard (X11))"
375         depends on !BR2_PACKAGE_QT_X11
377 config BR2_PACKAGE_QT_OPENGL_GL_DESKTOP
378         bool "Desktop OpenGL"
379         depends on BR2_PACKAGE_HAS_LIBGL
380         depends on BR2_PACKAGE_QT_X11
381         help
382           Use desktop OpenGL.
384 config BR2_PACKAGE_QT_OPENGL_ES
385         bool "OpenGL ES v2.x support"
386         depends on BR2_PACKAGE_HAS_LIBGLES
387         depends on BR2_PACKAGE_HAS_LIBEGL
388         help
389           Enable the OpenGL ES v2.x support.
391 endchoice
393 endif # BR2_PACKAGE_QT_OPENGL
395 endif
397 config BR2_PACKAGE_QT_DBUS
398         bool "DBus Module"
399         select BR2_PACKAGE_DBUS
400         depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
401         depends on BR2_USE_MMU # dbus
402         help
403           Build the Qt DBus module.
405 comment "DBus Module needs a toolchain w/ threads"
406         depends on BR2_USE_MMU
407         depends on !BR2_TOOLCHAIN_HAS_THREADS
409 config BR2_PACKAGE_QT_XML
410         bool "XML Module"
411         default y
412         help
413           Build the XML module.
415 config BR2_PACKAGE_QT_XMLPATTERNS
416         bool "XML Patterns Module"
417         depends on BR2_PACKAGE_QT_XML
418         help
419           Build QtXmlPatterns module.
420           If unsure, say n
422 config BR2_PACKAGE_QT_MULTIMEDIA
423         bool "Multimedia Module"
424         depends on BR2_PACKAGE_QT_GUI_MODULE
425         help
426           Build QtMultimedia module.
428 config BR2_PACKAGE_QT_AUDIO_BACKEND
429         bool "QtMultimedia Audio backend"
430         depends on BR2_PACKAGE_QT_MULTIMEDIA
431         select BR2_PACKAGE_ALSA_LIB
432         depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
433         help
434           Build the ALSA audio backend into QtMultimedia
436 config BR2_PACKAGE_QT_SVG
437         bool "SVG Module"
438         depends on BR2_PACKAGE_QT_GUI_MODULE
439         help
440           Build the SVG module.
441           If unsure, say n
443 config BR2_PACKAGE_QT_NETWORK
444         bool "Network Module"
445         default y
446         help
447           Install the Network module.
448           if unsure, say y
450 config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
451         bool
452         depends on BR2_TOOLCHAIN_HAS_SYNC_4
453         # see src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
454         # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
455         default y if BR2_arc || BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazeel || \
456                 BR2_microblazebe || BR2_mips || BR2_mipsel || \
457                 (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_NABI32 || BR2_powerpc || \
458                 BR2_powerpc64 || BR2_powerpc64le || BR2_x86_64
459         # The CodeSourcery SuperH toolchain fails to build Webkit,
460         # with an assertion failure in binutils.
461         default y if (BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb) && \
462                 !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
464 config BR2_PACKAGE_QT_WEBKIT
465         bool "WebKit Module"
466         depends on BR2_PACKAGE_QT_SCRIPT
467         depends on BR2_PACKAGE_QT_SHARED
468         depends on BR2_PACKAGE_QT_GUI_MODULE
469         depends on BR2_PACKAGE_QT_NETWORK
470         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
471         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
472         depends on BR2_PACKAGE_GSTREAMER
473         select BR2_PACKAGE_GST_PLUGINS_BASE
474         select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
475         help
476           Build the WebKit module.
477           If unsure, say n.
479 comment "WebKit needs a toolchain w/ dynamic library, NPTL"
480         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
481         depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIB
483 comment "WebKit needs QtShared/Script/Gui/Network and Gstreamer 0.10"
484         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
485         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL && !BR2_STATIC_LIB
486         depends on !BR2_PACKAGE_QT_SCRIPT     || !BR2_PACKAGE_QT_SHARED   \
487                 || !BR2_PACKAGE_QT_GUI_MODULE || !BR2_PACKAGE_QT_NETWORK  \
488                 || !BR2_PACKAGE_GSTREAMER
490 config BR2_PACKAGE_QT_STL
491         bool "STL support"
492         help
493           Compile STL support.
494           If unsure, say n.
496 config BR2_PACKAGE_QT_OPENSSL
497         bool "Enable OpenSSL support"
498         depends on BR2_PACKAGE_QT_NETWORK
499         select BR2_PACKAGE_OPENSSL
500         help
501           Enable support for the OpenSSL encryption library. If you use
502           QSslSocket say y here, otherwise, say no to save space on the
503           target.
504           If unsure, say n.
506 config BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
507         bool
508         depends on BR2_TOOLCHAIN_HAS_SYNC_4
509         # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
510         default y if BR2_arc || BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || \
511                 BR2_microblazeel || BR2_microblazebe || BR2_mips || BR2_mipsel || \
512                 BR2_mips64 || BR2_mips64el || BR2_nios2 || BR2_powerpc || \
513                 BR2_powerpc64 || BR2_powerpc64le || BR2_sh4 || BR2_sh4eb || \
514                 BR2_sh4a || BR2_sh4aeb || BR2_x86_64
516 config BR2_PACKAGE_QT_SCRIPT
517         bool "Script Module"
518         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
519         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
520         default y
521         help
522           Build the Qt Script module.
523           if unsure, say y.
525 comment "Script Module needs a toolchain with NPTL"
526         depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
527         depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
529 config BR2_PACKAGE_QT_SCRIPTTOOLS
530         bool "Script Tools Module"
531         depends on BR2_PACKAGE_QT_SCRIPT
532         depends on BR2_PACKAGE_QT_GUI_MODULE
533         help
534           Build the Qt Script Tools module.
535           if unsure, say n.
537 config BR2_PACKAGE_QT_DECLARATIVE
538         bool "Declarative module"
539         depends on BR2_PACKAGE_QT_SCRIPT
540         depends on BR2_PACKAGE_QT_GUI_MODULE
541         depends on BR2_PACKAGE_QT_SQL_MODULE
542         help
543           Build the Qt Declarative Module for qml support
544           if unsure, say n.
546 config BR2_PACKAGE_QT_TEST
547         bool "Test Module"
548         help
549           Install the Test module.
551 endif # BR2_PACKAGE_QT