Config.in 8.0 KB

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