1 comment "qt needs a toolchain w/ C++, threads"
4 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
6 menuconfig BR2_PACKAGE_QT
8 depends on !BR2_avr32 # lacks TLS
9 depends on BR2_USE_MMU # fork
10 depends on BR2_INSTALL_LIBSTDCPP
11 depends on BR2_TOOLCHAIN_HAS_THREADS
13 Qt is a cross-platform application and UI framework for
20 config BR2_PACKAGE_QT_DEBUG
21 bool "Compile with debug support"
25 config BR2_PACKAGE_QT_DEMOS
26 bool "Compile and install Qt demos (with code)"
27 select BR2_PACKAGE_QT_GUI_MODULE
31 config BR2_PACKAGE_QT_TRANSLATION_FILES
32 bool "Install translation files"
34 Install binary .qm translation files.
35 Say y if you need these files. They will take about 8 MB
36 on the target root filesystem.
38 config BR2_PACKAGE_QT_EXAMPLES
39 bool "Compile and install Qt examples (with code)"
40 select BR2_PACKAGE_QT_GUI_MODULE
47 Selects the library type: Shared or Static
49 config BR2_PACKAGE_QT_SHARED
51 depends on !BR2_STATIC_LIBS
53 Create and use shared Qt libraries.
54 If you have multiple programs that depend on Qt or intend to use
57 config BR2_PACKAGE_QT_STATIC
60 Create and use static Qt libraries.
61 If you don't have multiple programs on the target that depends on
62 Qt, then this will save you quite some of storage space.
67 config BR2_PACKAGE_QT_LICENSE_APPROVED
68 bool "Approve free license"
70 Select this if you approve one of the available free licenses for the
72 By doing this you will not be asked while the library is compiled.
73 Please read and understand the license terms before approving this.
75 LGPL v2.1: http://doc.trolltech.com/4.5/lgpl.html
76 GPL v3.0: http://doc.trolltech.com/4.5/gpl.html
78 config BR2_PACKAGE_QT_CONFIG_FILE
81 Configure options allow to set which modules are being
82 compiled or not in Qt, but Qt also provide a more
83 fine-grained mechanism to configure which features should be
84 enabled or disabled, through a header file. Examples of such
85 header files can be found in src/corelib/global/qconfig-*.h
88 This option allows to set the path of such a configuration
89 file, which Buildroot will give to Qt at compile time.
91 config BR2_PACKAGE_QT_QT3SUPPORT
92 bool "Compatibility with Qt3"
93 depends on BR2_PACKAGE_QT_GUI_MODULE
95 Turns on support for older Qt3. This will create an additional
96 library with proxy code and increase the space required on target.
99 config BR2_PACKAGE_QT_GUI_MODULE
101 select BR2_PACKAGE_QT_NETWORK
104 Turns on support for Gui applications. If your board doesn't have
105 video output, or you don't require Qt GUI, say n.
107 if BR2_PACKAGE_QT_GUI_MODULE
109 comment "Deselecting each option leads to Qt's default (8,16,32)"
111 config BR2_PACKAGE_QT_PIXEL_DEPTH_1
112 bool "1 bpp, black/white"
114 config BR2_PACKAGE_QT_PIXEL_DEPTH_4
115 bool "4 bpp, grayscale"
117 config BR2_PACKAGE_QT_PIXEL_DEPTH_8
118 bool "8 bpp, paletted"
121 config BR2_PACKAGE_QT_PIXEL_DEPTH_12
122 bool "12 bpp, rgb 4-4-4"
124 config BR2_PACKAGE_QT_PIXEL_DEPTH_15
125 bool "15 bpp, rgb 5-5-5"
127 config BR2_PACKAGE_QT_PIXEL_DEPTH_16
128 bool "16 bpp, rgb 5-6-5"
131 config BR2_PACKAGE_QT_PIXEL_DEPTH_18
132 bool "18 bpp, rgb 6-6-6"
134 config BR2_PACKAGE_QT_PIXEL_DEPTH_24
135 bool "24 bpp, rgb 8-8-8"
137 config BR2_PACKAGE_QT_PIXEL_DEPTH_32
138 bool "32 bpp, argb 8-8-8-8 and rgb 8-8-8"
145 config BR2_PACKAGE_QT_FONT_MICRO
149 config BR2_PACKAGE_QT_FONT_FIXED
153 config BR2_PACKAGE_QT_FONT_HELVETICA
157 config BR2_PACKAGE_QT_FONT_JAPANESE
160 config BR2_PACKAGE_QT_FONT_UNIFONT
166 prompt "freetype2 support"
167 default BR2_PACKAGE_QT_NOFREETYPE
169 Select freetype2 support.
171 config BR2_PACKAGE_QT_NOFREETYPE
172 bool "no freetype2 support"
174 Do not compile in Freetype2 support.
176 config BR2_PACKAGE_QT_QTFREETYPE
179 Use the libfreetype bundled with Qt.
181 config BR2_PACKAGE_QT_SYSTEMFREETYPE
182 bool "System freetype2"
183 select BR2_PACKAGE_FREETYPE
185 Use shared libfreetype from the target system.
186 See http://www.freetype.org/
189 config BR2_PACKAGE_QT_GIF
190 bool "Enable GIF support"
192 This compiles and installs the plugin for GIF reading support.
194 config BR2_PACKAGE_QT_LIBMNG
195 bool "Enable libmng support"
197 This compiles and installs the plugin for MNG support.
200 prompt "JPEG support"
201 default BR2_PACKAGE_QT_NOJPEG
203 Select libjpeg support.
205 config BR2_PACKAGE_QT_NOJPEG
206 bool "No jpeg support"
210 config BR2_PACKAGE_QT_SYSTEMJPEG
211 select BR2_PACKAGE_JPEG
212 bool "System libjpeg"
214 Link against system libjpeg
216 config BR2_PACKAGE_QT_QTJPEG
217 bool "Use Qt bundled libjpeg"
219 Link against libjpeg proveded with Qt
224 default BR2_PACKAGE_QT_NOPNG
226 Select which library to use if PNG support should be enabled.
228 config BR2_PACKAGE_QT_NOPNG
229 bool "No PNG support"
231 config BR2_PACKAGE_QT_SYSTEMPNG
233 select BR2_PACKAGE_LIBPNG
235 config BR2_PACKAGE_QT_QTPNG
236 bool "Use Qt bundled libpng"
240 prompt "TIFF support"
241 default BR2_PACKAGE_QT_NOTIFF
243 Select which library to use if TIFF support should be enabled.
245 config BR2_PACKAGE_QT_NOTIFF
246 bool "No TIFF support"
248 config BR2_PACKAGE_QT_SYSTEMTIFF
249 bool "System libtiff"
250 select BR2_PACKAGE_TIFF
252 config BR2_PACKAGE_QT_QTTIFF
253 bool "Use Qt bundled libtiff"
256 endif # BR2_PACKAGE_QT_GUI_MODULE
259 prompt "zlib support"
260 default BR2_PACKAGE_QT_QTZLIB
264 config BR2_PACKAGE_QT_QTZLIB
267 Use the zlib bundled with Qt.
269 config BR2_PACKAGE_QT_SYSTEMZLIB
271 select BR2_PACKAGE_ZLIB
273 Use the shared zlib from the system.
276 source "package/qt/Config.sql.in"
277 if BR2_PACKAGE_QT_GUI_MODULE
278 source "package/qt/Config.gfx.in"
279 source "package/qt/Config.mouse.in"
280 source "package/qt/Config.keyboard.in"
282 config BR2_PACKAGE_QT_PHONON
284 depends on BR2_PACKAGE_GSTREAMER
285 select BR2_PACKAGE_GST_PLUGINS_BASE
288 Build the Phonon module. Support for different audio/video
289 formats can be configured at the GStreamer package.
292 comment "Phonon module needs gstreamer"
293 depends on !BR2_PACKAGE_GSTREAMER
295 config BR2_PACKAGE_QT_PHONON_BACKEND
296 bool "Phonon Module Backend"
297 depends on BR2_PACKAGE_QT_PHONON
299 Build the platform Phonon plugin.
302 config BR2_PACKAGE_QT_OPENGL_ES
303 bool "OpenGL ES v2.x support"
304 depends on BR2_PACKAGE_HAS_LIBGLES
305 depends on BR2_PACKAGE_HAS_LIBEGL
307 Enable the OpenGL ES v2.x support.
311 config BR2_PACKAGE_QT_DBUS
313 select BR2_PACKAGE_DBUS
314 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
315 depends on BR2_USE_MMU # dbus
317 Build the Qt DBus module.
319 comment "DBus Module needs a toolchain w/ threads"
320 depends on BR2_USE_MMU
321 depends on !BR2_TOOLCHAIN_HAS_THREADS
323 config BR2_PACKAGE_QT_XML
327 Build the XML module.
329 config BR2_PACKAGE_QT_XMLPATTERNS
330 bool "XML Patterns Module"
331 depends on BR2_PACKAGE_QT_XML
333 Build QtXmlPatterns module.
336 config BR2_PACKAGE_QT_MULTIMEDIA
337 bool "Multimedia Module"
338 depends on BR2_PACKAGE_QT_GUI_MODULE
340 Build QtMultimedia module.
342 config BR2_PACKAGE_QT_AUDIO_BACKEND
343 bool "QtMultimedia Audio backend"
344 depends on BR2_PACKAGE_QT_MULTIMEDIA
345 select BR2_PACKAGE_ALSA_LIB
346 depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
348 Build the ALSA audio backend into QtMultimedia
350 config BR2_PACKAGE_QT_SVG
352 depends on BR2_PACKAGE_QT_GUI_MODULE
354 Build the SVG module.
357 config BR2_PACKAGE_QT_NETWORK
358 bool "Network Module"
361 Install the Network module.
364 config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
366 # see src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
367 default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \
368 BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_powerpc || \
369 BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb || \
370 BR2_sparc || BR2_x86_64
372 config BR2_PACKAGE_QT_WEBKIT
374 depends on BR2_PACKAGE_QT_SHARED
375 depends on BR2_PACKAGE_QT_GUI_MODULE
376 depends on BR2_PACKAGE_QT_NETWORK
377 depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
378 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
380 Build the WebKit module.
383 comment "WebKit needs shared library/NPTL toolchain/gui/network support"
384 depends on !(BR2_PACKAGE_QT_SHARED && BR2_PACKAGE_QT_GUI_MODULE && BR2_PACKAGE_QT_NETWORK)
385 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
386 depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
388 config BR2_PACKAGE_QT_STL
394 config BR2_PACKAGE_QT_OPENSSL
395 bool "Enable OpenSSL support"
396 depends on BR2_PACKAGE_QT_NETWORK
397 select BR2_PACKAGE_OPENSSL
399 Enable support for the OpenSSL encryption library. If you use
400 QSslSocket say y here, otherwise, say no to save space on the
404 config BR2_PACKAGE_QT_SCRIPT
406 depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
407 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
410 Build the Qt Script module.
413 comment "Script Module needs a toolchain with NPTL"
414 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
415 depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
417 config BR2_PACKAGE_QT_SCRIPTTOOLS
418 bool "Script Tools Module"
419 depends on BR2_PACKAGE_QT_SCRIPT
420 depends on BR2_PACKAGE_QT_GUI_MODULE
422 Build the Qt Script Tools module.
425 config BR2_PACKAGE_QT_DECLARATIVE
426 bool "Declarative module"
427 depends on BR2_PACKAGE_QT_SCRIPT
428 depends on BR2_PACKAGE_QT_GUI_MODULE
430 Build the Qt Declarative Module for qml support
433 config BR2_PACKAGE_QT_TEST
436 Install the Test module.
438 endif # BR2_PACKAGE_QT