1 comment "qt needs a toolchain w/ C++, threads"
3 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
5 menuconfig BR2_PACKAGE_QT
7 depends on BR2_USE_MMU # fork
8 depends on BR2_INSTALL_LIBSTDCPP
9 depends on BR2_TOOLCHAIN_HAS_THREADS
11 Qt is a cross-platform application and UI framework for
19 prompt "Qt installation"
21 Selects the type of installation: standard or embedded
23 config BR2_PACKAGE_QT_EMBEDDED
26 The embedded Qt installation targets embedded systems without X.org.
27 Provides backends for framebuffer.
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
48 The standard Qt installation provides X.org backend. If you don't want to
53 config BR2_PACKAGE_QT_DEBUG
54 bool "Compile with debug support"
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
65 config BR2_PACKAGE_QT_TRANSLATION_FILES
66 bool "Install translation files"
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
82 Selects the library type: Shared or Static
84 config BR2_PACKAGE_QT_SHARED
86 depends on !BR2_STATIC_LIBS
88 Create and use shared Qt libraries.
89 If you have multiple programs that depend on Qt or intend to use
92 config BR2_PACKAGE_QT_STATIC
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.
102 config BR2_PACKAGE_QT_LICENSE_APPROVED
103 bool "Approve free license"
105 Select this if you approve one of the available free licenses for the
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
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
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
131 Turns on support for older Qt3. This will create an additional
132 library with proxy code and increase the space required on target.
135 config BR2_PACKAGE_QT_GUI_MODULE
137 depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # nios2 Binutils 2.25.1 bug
138 select BR2_PACKAGE_QT_NETWORK
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
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"
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"
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"
188 config BR2_PACKAGE_QT_FONT_MICRO
192 config BR2_PACKAGE_QT_FONT_FIXED
196 config BR2_PACKAGE_QT_FONT_HELVETICA
200 config BR2_PACKAGE_QT_FONT_JAPANESE
203 config BR2_PACKAGE_QT_FONT_UNIFONT
208 endif # BR2_PACKAGE_QT_EMBEDDED
211 prompt "freetype2 support"
212 default BR2_PACKAGE_QT_NOFREETYPE
214 Select freetype2 support.
216 config BR2_PACKAGE_QT_NOFREETYPE
217 bool "no freetype2 support"
218 depends on BR2_PACKAGE_QT_EMBEDDED
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
227 depends on BR2_PACKAGE_QT_EMBEDDED
229 Use the libfreetype bundled with Qt.
231 config BR2_PACKAGE_QT_SYSTEMFREETYPE
232 bool "System freetype2"
233 select BR2_PACKAGE_FREETYPE
235 Use shared libfreetype from the target system.
236 See http://www.freetype.org/
239 config BR2_PACKAGE_QT_GIF
240 bool "Enable GIF support"
242 This compiles and installs the plugin for GIF reading support.
244 config BR2_PACKAGE_QT_LIBMNG
245 bool "Enable libmng support"
247 This compiles and installs the plugin for MNG support.
250 prompt "JPEG support"
251 default BR2_PACKAGE_QT_NOJPEG
253 Select libjpeg support.
255 config BR2_PACKAGE_QT_NOJPEG
256 bool "No jpeg support"
260 config BR2_PACKAGE_QT_SYSTEMJPEG
261 select BR2_PACKAGE_JPEG
262 bool "System libjpeg"
264 Link against system libjpeg
266 config BR2_PACKAGE_QT_QTJPEG
267 bool "Use Qt bundled libjpeg"
269 Link against libjpeg provided with Qt
274 default BR2_PACKAGE_QT_NOPNG
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
283 select BR2_PACKAGE_LIBPNG
285 config BR2_PACKAGE_QT_QTPNG
286 bool "Use Qt bundled libpng"
290 prompt "TIFF support"
291 default BR2_PACKAGE_QT_NOTIFF
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"
306 config BR2_PACKAGE_QT_ACCESSIBILITY
307 bool "Enable accessibility support"
309 This enables and compiles the accessibility support.
311 endif # BR2_PACKAGE_QT_GUI_MODULE
314 prompt "zlib support"
315 default BR2_PACKAGE_QT_QTZLIB
319 config BR2_PACKAGE_QT_QTZLIB
322 Use the zlib bundled with Qt.
324 config BR2_PACKAGE_QT_SYSTEMZLIB
326 select BR2_PACKAGE_ZLIB
328 Use the shared zlib from the system.
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"
339 config BR2_PACKAGE_QT_PHONON
341 depends on BR2_PACKAGE_GSTREAMER
342 select BR2_PACKAGE_GST_PLUGINS_BASE
345 Build the Phonon module. Support for different audio/video
346 formats can be configured at the GStreamer package.
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
356 Build the platform Phonon plugin.
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)
365 This option enables OpenGL support.
367 if BR2_PACKAGE_QT_OPENGL
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
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
389 Enable the OpenGL ES v2.x support.
393 endif # BR2_PACKAGE_QT_OPENGL
397 config BR2_PACKAGE_QT_DBUS
399 select BR2_PACKAGE_DBUS
400 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
401 depends on BR2_USE_MMU # dbus
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
413 Build the XML module.
415 config BR2_PACKAGE_QT_XMLPATTERNS
416 bool "XML Patterns Module"
417 depends on BR2_PACKAGE_QT_XML
419 Build QtXmlPatterns module.
422 config BR2_PACKAGE_QT_MULTIMEDIA
423 bool "Multimedia Module"
424 depends on BR2_PACKAGE_QT_GUI_MODULE
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
434 Build the ALSA audio backend into QtMultimedia
436 config BR2_PACKAGE_QT_SVG
438 depends on BR2_PACKAGE_QT_GUI_MODULE
440 Build the SVG module.
443 config BR2_PACKAGE_QT_NETWORK
444 bool "Network Module"
447 Install the Network module.
450 config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
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
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
476 Build the WebKit module.
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
496 config BR2_PACKAGE_QT_OPENSSL
497 bool "Enable OpenSSL support"
498 depends on BR2_PACKAGE_QT_NETWORK
499 select BR2_PACKAGE_OPENSSL
501 Enable support for the OpenSSL encryption library. If you use
502 QSslSocket say y here, otherwise, say no to save space on the
506 config BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
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
518 depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
519 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
522 Build the Qt Script module.
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
534 Build the Qt Script Tools module.
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
543 Build the Qt Declarative Module for qml support
546 config BR2_PACKAGE_QT_TEST
549 Install the Test module.
551 endif # BR2_PACKAGE_QT