2
1

Config.in 8.6 KB

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