Config.in 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. comment "qt requires a toolchain with C++ support enabled"
  2. depends on !BR2_INSTALL_LIBSTDCPP
  3. menuconfig BR2_PACKAGE_QT
  4. bool "Qt"
  5. depends on BR2_INSTALL_LIBSTDCPP
  6. help
  7. Qt for Embedded Linux.
  8. http://www.qtsoftware.com/products/platform/qt-for-embedded-linux
  9. if BR2_PACKAGE_QT
  10. config BR2_PACKAGE_QT_DEBUG
  11. bool "Compile with debug support"
  12. help
  13. If unsure, say N.
  14. config BR2_PACKAGE_QT_DEMOS
  15. bool "Compile and install demos and examples (with code)"
  16. help
  17. If unsure, say N.
  18. choice
  19. prompt "Library type"
  20. default BR2_PACKAGE_QT_SHARED
  21. help
  22. Selects the library type: Shared or Static
  23. config BR2_PACKAGE_QT_SHARED
  24. bool "Shared library"
  25. help
  26. Create and use shared Qt libraries.
  27. If you have multiple programs that depend on Qt or intend to use
  28. plugins, say Y.
  29. config BR2_PACKAGE_QT_STATIC
  30. bool "Static Library"
  31. help
  32. Create and use static Qt libraries.
  33. If you don't have multiple programs on the target that depends on
  34. Qt, then this will save you quite some of storage space.
  35. If unsure, say Y.
  36. endchoice
  37. config BR2_PACKAGE_QT_LICENSE_APPROVED
  38. bool "Approve free license"
  39. help
  40. Select this if you approve one of the available free licenses for the
  41. Qt4 library.
  42. By doing this you will not be asked while the library is compiled.
  43. Please read and understand the license terms before approving this.
  44. LGPL v2.1: http://doc.trolltech.com/4.5/lgpl.html
  45. GPL v3.0: http://doc.trolltech.com/4.5/gpl.html
  46. config BR2_PACKAGE_QT_QT3SUPPORT
  47. bool "Compatibility with Qt3"
  48. help
  49. Turns on support for older Qt3. This will create an additional
  50. library with proxy code and increase the space required on target.
  51. If unsure say n.
  52. config BR2_PACKAGE_QT_GUI_MODULE
  53. bool "Gui Module"
  54. select BR2_PACKAGE_QT_NETWORK
  55. default y
  56. help
  57. Turns on support for Gui applications. If your board doesn't have
  58. video output, or you don't require Qt GUI, say n.
  59. if BR2_PACKAGE_QT_GUI_MODULE
  60. menu "Pixel depths"
  61. comment "Deselecting each option leads to Qt's default (8,16,32)"
  62. config BR2_PACKAGE_QT_PIXEL_DEPTH_1
  63. bool "1 bpp, black/white"
  64. config BR2_PACKAGE_QT_PIXEL_DEPTH_4
  65. bool "4 bpp, grayscale"
  66. config BR2_PACKAGE_QT_PIXEL_DEPTH_8
  67. bool "8 bpp, paletted"
  68. default y
  69. config BR2_PACKAGE_QT_PIXEL_DEPTH_12
  70. bool "12 bpp, rgb 4-4-4"
  71. config BR2_PACKAGE_QT_PIXEL_DEPTH_15
  72. bool "15 bpp, rgb 5-5-5"
  73. config BR2_PACKAGE_QT_PIXEL_DEPTH_16
  74. bool "16 bpp, rgb 5-6-5"
  75. default y
  76. config BR2_PACKAGE_QT_PIXEL_DEPTH_18
  77. bool "18 bpp, rgb 6-6-6"
  78. config BR2_PACKAGE_QT_PIXEL_DEPTH_24
  79. bool "24 bpp, rgb 8-8-8"
  80. config BR2_PACKAGE_QT_PIXEL_DEPTH_32
  81. bool "32 bpp, argb 8-8-8-8 and rgb 8-8-8"
  82. default y
  83. endmenu
  84. menu "Fonts"
  85. config BR2_PACKAGE_QT_FONT_MICRO
  86. bool "micro"
  87. default y
  88. config BR2_PACKAGE_QT_FONT_FIXED
  89. bool "fixed"
  90. default y
  91. config BR2_PACKAGE_QT_FONT_HELVETICA
  92. bool "helvetica"
  93. default y
  94. config BR2_PACKAGE_QT_FONT_JAPANESE
  95. bool "japanese"
  96. config BR2_PACKAGE_QT_FONT_UNIFONT
  97. bool "unicode"
  98. endmenu
  99. choice
  100. prompt "freetype2 support"
  101. default BR2_PACKAGE_QT_NOFREETYPE
  102. help
  103. Select freetype2 support.
  104. config BR2_PACKAGE_QT_NOFREETYPE
  105. bool "no freetype2 support"
  106. help
  107. Do not compile in Freetype2 support.
  108. config BR2_PACKAGE_QT_QTFREETYPE
  109. bool "Qt freetype2"
  110. help
  111. Use the libfreetype bundled with Qt.
  112. config BR2_PACKAGE_QT_SYSTEMFREETYPE
  113. bool "System freetype2"
  114. select BR2_PACKAGE_FREETYPE
  115. help
  116. Use shared libfreetype from the target system.
  117. See http://www.freetype.org/
  118. endchoice
  119. config BR2_PACKAGE_QT_GIF
  120. bool "Enable GIF support"
  121. help
  122. This compiles and installs the plugin for GIF reading support.
  123. config BR2_PACKAGE_QT_LIBMNG
  124. bool "Enable libmng support"
  125. help
  126. This compiles and installs the plugin for MNG support.
  127. choice
  128. prompt "JPEG support"
  129. default BR2_PACKAGE_QT_NOJPEG
  130. help
  131. Select libjpeg support.
  132. config BR2_PACKAGE_QT_NOJPEG
  133. bool "No jpeg support"
  134. help
  135. Disable JPEG support
  136. config BR2_PACKAGE_QT_SYSTEMJPEG
  137. select BR2_PACKAGE_JPEG
  138. bool "System libjpeg"
  139. help
  140. Link against system libjpeg
  141. config BR2_PACKAGE_QT_QTJPEG
  142. bool "Use Qt bundled libjpeg"
  143. help
  144. Link against libjpeg proveded with Qt
  145. endchoice
  146. choice
  147. prompt "PNG support"
  148. default BR2_PACKAGE_QT_NOPNG
  149. help
  150. Select which library to use if PNG support should be enabled.
  151. config BR2_PACKAGE_QT_NOPNG
  152. bool "No PNG support"
  153. config BR2_PACKAGE_QT_SYSTEMPNG
  154. bool "System libpng"
  155. select BR2_PACKAGE_LIBPNG
  156. config BR2_PACKAGE_QT_QTPNG
  157. bool "Use Qt bundled libpng"
  158. endchoice
  159. choice
  160. prompt "TIFF support"
  161. default BR2_PACKAGE_QT_NOTIFF
  162. help
  163. Select which library to use if TIFF support should be enabled.
  164. config BR2_PACKAGE_QT_NOTIFF
  165. bool "No TIFF support"
  166. config BR2_PACKAGE_QT_SYSTEMTIFF
  167. bool "System libtiff"
  168. select BR2_PACKAGE_TIFF
  169. config BR2_PACKAGE_QT_QTTIFF
  170. bool "Use Qt bundled libtiff"
  171. endchoice
  172. endif # BR2_PACKAGE_QT_GUI_MODULE
  173. choice
  174. prompt "zlib support"
  175. default BR2_PACKAGE_QT_QTZLIB
  176. help
  177. Select zlib support.
  178. config BR2_PACKAGE_QT_QTZLIB
  179. bool "Qt zlib"
  180. help
  181. Use the zlib bundled with Qt.
  182. config BR2_PACKAGE_QT_SYSTEMZLIB
  183. bool "System zlib"
  184. select BR2_PACKAGE_ZLIB
  185. help
  186. Use the shared zlib from the system.
  187. endchoice
  188. config BR2_PACKAGE_QT_EMB_PLATFORM
  189. string "The embedded platform we are making Qt for"
  190. default "arm" if BR2_arm
  191. default "arm" if BR2_armeb
  192. default "avr32" if BR2_avr32
  193. default "x86" if BR2_i386
  194. default "x86_64" if BR2_x86_64
  195. default "mips" if BR2_mips
  196. default "mips" if BR2_mipsel
  197. default "powerpc" if BR2_powerpc
  198. # Not that I really believe these will work..
  199. default "generic" if BR2_alpha
  200. default "generic" if BR2_chris
  201. default "generic" if BR2_m68k
  202. default "generic" if BR2_sh
  203. default "generic" if BR2_sh64
  204. default "generic" if BR2_sparc
  205. help
  206. The target platform.
  207. source "package/qt/Config.sql.in"
  208. if BR2_PACKAGE_QT_GUI_MODULE
  209. source "package/qt/Config.gfx.in"
  210. source "package/qt/Config.mouse.in"
  211. source "package/qt/Config.keyboard.in"
  212. endif
  213. config BR2_PACKAGE_QT_PHONON
  214. bool "Phonon Module"
  215. depends on BR2_PACKAGE_GSTREAMER
  216. select BR2_PACKAGE_GST_PLUGINS_BASE
  217. default y
  218. help
  219. Build the Phonon module. Support for different audio/video
  220. formats can be configured at the GStreamer package.
  221. If unsure, say n.
  222. comment "Phonon module needs gstreamer"
  223. depends on !BR2_PACKAGE_GSTREAMER
  224. config BR2_PACKAGE_QT_PHONON_BACKEND
  225. bool "Phonon Module Backend"
  226. depends on BR2_PACKAGE_QT_PHONON
  227. help
  228. Build the platform Phonon plugin.
  229. If unsure, say n.
  230. comment "Qt DBbus module not available (need dbus)"
  231. depends on !BR2_PACKAGE_DBUS
  232. config BR2_PACKAGE_QT_DBUS
  233. bool "DBus Module"
  234. depends on BR2_PACKAGE_DBUS
  235. help
  236. Build the Qt DBus module.
  237. config BR2_PACKAGE_QT_XML
  238. bool "XML Module"
  239. default y
  240. help
  241. Build the XML module.
  242. config BR2_PACKAGE_QT_XMLPATTERNS
  243. bool "XML Patterns Module"
  244. depends on BR2_PACKAGE_QT_XML
  245. help
  246. Build QtXmlPatterns module.
  247. If unsure, say n
  248. config BR2_PACKAGE_QT_MULTIMEDIA
  249. bool "Multimedia Module"
  250. help
  251. Build QtMultimedia module.
  252. config BR2_PACKAGE_QT_AUDIO_BACKEND
  253. bool "QtMultimedia Audio backend"
  254. depends on BR2_PACKAGE_QT_MULTIMEDIA
  255. select BR2_PACKAGE_ALSA_LIB
  256. help
  257. Build the ALSA audio backend into QtMultimedia
  258. config BR2_PACKAGE_QT_SVG
  259. bool "SVG Module"
  260. help
  261. Build the SVG module.
  262. If unsure, say n
  263. config BR2_PACKAGE_QT_NETWORK
  264. bool "Network Module"
  265. default y
  266. help
  267. Install the Network module.
  268. if unsure, say y
  269. config BR2_PACKAGE_QT_WEBKIT
  270. bool "WebKit Module"
  271. depends on BR2_PACKAGE_QT_NETWORK
  272. select BR2_PACKAGE_QT_JAVASCRIPTCORE
  273. help
  274. Build the WebKit module.
  275. If unsure, say n.
  276. config BR2_PACKAGE_QT_JAVASCRIPTCORE
  277. bool "JavaScriptCore JIT compiler"
  278. help
  279. Build the JavaScriptCore JIT compiler
  280. If unsure, say y
  281. config BR2_PACKAGE_QT_STL
  282. bool "STL support"
  283. help
  284. Compile STL support.
  285. If unsure, say n.
  286. config BR2_PACKAGE_QT_OPENSSL
  287. bool "Enable OpenSSL support"
  288. depends on BR2_PACKAGE_QT_NETWORK
  289. select BR2_PACKAGE_OPENSSL
  290. help
  291. Enable support for the OpenSSL encryption library. If you use
  292. QSslSocket say y here, otherwise, say no to save space on the
  293. target.
  294. If unsure, say n.
  295. config BR2_PACKAGE_QT_SCRIPT
  296. bool "Script Module"
  297. default y
  298. select BR2_PACKAGE_QT_JAVASCRIPTCORE
  299. help
  300. Build the Qt Script module.
  301. if unsure, say y.
  302. config BR2_PACKAGE_QT_SCRIPTTOOLS
  303. bool "Script Tools Module"
  304. depends on BR2_PACKAGE_QT_SCRIPT
  305. help
  306. Build the Qt Script Tools module.
  307. if unsure, say n.
  308. endif # BR2_PACKAGE_QT