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 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
47 The standard Qt installation provides X.org backend. If you don't want to
52 config BR2_PACKAGE_QT_DEBUG
53 bool "Compile with debug support"
57 config BR2_PACKAGE_QT_DEMOS
58 bool "Compile and install Qt demos (with code)"
59 select BR2_PACKAGE_QT_GUI_MODULE
63 config BR2_PACKAGE_QT_TRANSLATION_FILES
64 bool "Install translation files"
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.
70 config BR2_PACKAGE_QT_EXAMPLES
71 bool "Compile and install Qt examples (with code)"
72 select BR2_PACKAGE_QT_GUI_MODULE
79 Selects the library type: Shared or Static
81 config BR2_PACKAGE_QT_SHARED
83 depends on !BR2_STATIC_LIBS
85 Create and use shared Qt libraries.
86 If you have multiple programs that depend on Qt or intend to use
89 config BR2_PACKAGE_QT_STATIC
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.
99 config BR2_PACKAGE_QT_LICENSE_APPROVED
100 bool "Approve free license"
102 Select this if you approve one of the available free licenses for the
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.
107 LGPL v2.1: http://doc.trolltech.com/4.5/lgpl.html
108 GPL v3.0: http://doc.trolltech.com/4.5/gpl.html
110 config BR2_PACKAGE_QT_CONFIG_FILE
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
120 This option allows to set the path of such a configuration
121 file, which Buildroot will give to Qt at compile time.
123 config BR2_PACKAGE_QT_QT3SUPPORT
124 bool "Compatibility with Qt3"
125 depends on BR2_PACKAGE_QT_GUI_MODULE
127 Turns on support for older Qt3. This will create an additional
128 library with proxy code and increase the space required on target.
131 config BR2_PACKAGE_QT_GUI_MODULE
133 select BR2_PACKAGE_QT_NETWORK
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.
139 if BR2_PACKAGE_QT_GUI_MODULE
141 if BR2_PACKAGE_QT_EMBEDDED
144 comment "Deselecting each option leads to Qt's default (8,16,32)"
146 config BR2_PACKAGE_QT_PIXEL_DEPTH_1
147 bool "1 bpp, black/white"
149 config BR2_PACKAGE_QT_PIXEL_DEPTH_4
150 bool "4 bpp, grayscale"
152 config BR2_PACKAGE_QT_PIXEL_DEPTH_8
153 bool "8 bpp, paletted"
156 config BR2_PACKAGE_QT_PIXEL_DEPTH_12
157 bool "12 bpp, rgb 4-4-4"
159 config BR2_PACKAGE_QT_PIXEL_DEPTH_15
160 bool "15 bpp, rgb 5-5-5"
162 config BR2_PACKAGE_QT_PIXEL_DEPTH_16
163 bool "16 bpp, rgb 5-6-5"
166 config BR2_PACKAGE_QT_PIXEL_DEPTH_18
167 bool "18 bpp, rgb 6-6-6"
169 config BR2_PACKAGE_QT_PIXEL_DEPTH_24
170 bool "24 bpp, rgb 8-8-8"
172 config BR2_PACKAGE_QT_PIXEL_DEPTH_32
173 bool "32 bpp, argb 8-8-8-8 and rgb 8-8-8"
180 config BR2_PACKAGE_QT_FONT_MICRO
184 config BR2_PACKAGE_QT_FONT_FIXED
188 config BR2_PACKAGE_QT_FONT_HELVETICA
192 config BR2_PACKAGE_QT_FONT_JAPANESE
195 config BR2_PACKAGE_QT_FONT_UNIFONT
200 endif # BR2_PACKAGE_QT_EMBEDDED
203 prompt "freetype2 support"
204 default BR2_PACKAGE_QT_NOFREETYPE
206 Select freetype2 support.
208 config BR2_PACKAGE_QT_NOFREETYPE
209 bool "no freetype2 support"
210 depends on BR2_PACKAGE_QT_EMBEDDED
212 Do not compile in Freetype2 support.
214 comment "Qt freetype2 needs Qt embedded"
215 depends on BR2_PACKAGE_QT_X11
217 config BR2_PACKAGE_QT_QTFREETYPE
219 depends on BR2_PACKAGE_QT_EMBEDDED
221 Use the libfreetype bundled with Qt.
223 config BR2_PACKAGE_QT_SYSTEMFREETYPE
224 bool "System freetype2"
225 select BR2_PACKAGE_FREETYPE
227 Use shared libfreetype from the target system.
228 See http://www.freetype.org/
231 config BR2_PACKAGE_QT_GIF
232 bool "Enable GIF support"
234 This compiles and installs the plugin for GIF reading support.
236 config BR2_PACKAGE_QT_LIBMNG
237 bool "Enable libmng support"
239 This compiles and installs the plugin for MNG support.
242 prompt "JPEG support"
243 default BR2_PACKAGE_QT_NOJPEG
245 Select libjpeg support.
247 config BR2_PACKAGE_QT_NOJPEG
248 bool "No jpeg support"
252 config BR2_PACKAGE_QT_SYSTEMJPEG
253 select BR2_PACKAGE_JPEG
254 bool "System libjpeg"
256 Link against system libjpeg
258 config BR2_PACKAGE_QT_QTJPEG
259 bool "Use Qt bundled libjpeg"
261 Link against libjpeg proveded with Qt
266 default BR2_PACKAGE_QT_NOPNG
268 Select which library to use if PNG support should be enabled.
270 config BR2_PACKAGE_QT_NOPNG
271 bool "No PNG support"
273 config BR2_PACKAGE_QT_SYSTEMPNG
275 select BR2_PACKAGE_LIBPNG
277 config BR2_PACKAGE_QT_QTPNG
278 bool "Use Qt bundled libpng"
282 prompt "TIFF support"
283 default BR2_PACKAGE_QT_NOTIFF
285 Select which library to use if TIFF support should be enabled.
287 config BR2_PACKAGE_QT_NOTIFF
288 bool "No TIFF support"
290 config BR2_PACKAGE_QT_SYSTEMTIFF
291 bool "System libtiff"
292 select BR2_PACKAGE_TIFF
294 config BR2_PACKAGE_QT_QTTIFF
295 bool "Use Qt bundled libtiff"
298 endif # BR2_PACKAGE_QT_GUI_MODULE
301 prompt "zlib support"
302 default BR2_PACKAGE_QT_QTZLIB
306 config BR2_PACKAGE_QT_QTZLIB
309 Use the zlib bundled with Qt.
311 config BR2_PACKAGE_QT_SYSTEMZLIB
313 select BR2_PACKAGE_ZLIB
315 Use the shared zlib from the system.
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"
326 config BR2_PACKAGE_QT_PHONON
328 depends on BR2_PACKAGE_GSTREAMER
329 select BR2_PACKAGE_GST_PLUGINS_BASE
332 Build the Phonon module. Support for different audio/video
333 formats can be configured at the GStreamer package.
336 comment "Phonon module needs gstreamer"
337 depends on !BR2_PACKAGE_GSTREAMER
339 config BR2_PACKAGE_QT_PHONON_BACKEND
340 bool "Phonon Module Backend"
341 depends on BR2_PACKAGE_QT_PHONON
343 Build the platform Phonon plugin.
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
351 Enable the OpenGL ES v2.x support.
355 config BR2_PACKAGE_QT_DBUS
357 select BR2_PACKAGE_DBUS
358 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
359 depends on BR2_USE_MMU # dbus
361 Build the Qt DBus module.
363 comment "DBus Module needs a toolchain w/ threads"
364 depends on BR2_USE_MMU
365 depends on !BR2_TOOLCHAIN_HAS_THREADS
367 config BR2_PACKAGE_QT_XML
371 Build the XML module.
373 config BR2_PACKAGE_QT_XMLPATTERNS
374 bool "XML Patterns Module"
375 depends on BR2_PACKAGE_QT_XML
377 Build QtXmlPatterns module.
380 config BR2_PACKAGE_QT_MULTIMEDIA
381 bool "Multimedia Module"
382 depends on BR2_PACKAGE_QT_GUI_MODULE
384 Build QtMultimedia module.
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
392 Build the ALSA audio backend into QtMultimedia
394 config BR2_PACKAGE_QT_SVG
396 depends on BR2_PACKAGE_QT_GUI_MODULE
398 Build the SVG module.
401 config BR2_PACKAGE_QT_NETWORK
402 bool "Network Module"
405 Install the Network module.
408 config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
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_arc || 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_SH
421 config BR2_PACKAGE_QT_WEBKIT
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()
430 Build the WebKit module.
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
439 config BR2_PACKAGE_QT_STL
445 config BR2_PACKAGE_QT_OPENSSL
446 bool "Enable OpenSSL support"
447 depends on BR2_PACKAGE_QT_NETWORK
448 select BR2_PACKAGE_OPENSSL
450 Enable support for the OpenSSL encryption library. If you use
451 QSslSocket say y here, otherwise, say no to save space on the
455 config BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
457 # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
458 default y if BR2_arc || 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
464 config BR2_PACKAGE_QT_SCRIPT
466 depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
467 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
470 Build the Qt Script module.
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
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
482 Build the Qt Script Tools module.
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
491 Build the Qt Declarative Module for qml support
494 config BR2_PACKAGE_QT_TEST
497 Install the Test module.
499 endif # BR2_PACKAGE_QT