Config.in 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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_TYPE_COMMERCIAL
  34. bool "Use commercial license"
  35. config BR2_PACKAGE_QT_LICENSE_APPROVED
  36. bool "Approve free license"
  37. depends on !BR2_PACKAGE_QT_LICENSE_TYPE_COMMERCIAL
  38. help
  39. Select this if you approve one of the available free licenses for the
  40. Qt4 library.
  41. By doing this you will not be asked while the library is compiled.
  42. Please read and understand the license terms before approving this.
  43. LGPL v2.1: http://doc.trolltech.com/4.5/lgpl.html
  44. GPL v3.0: http://doc.trolltech.com/4.5/gpl.html
  45. config BR2_PACKAGE_QT_COMMERCIAL_USERNAME
  46. string "Qt 4 Commercial License Username"
  47. depends on BR2_PACKAGE_QT_LICENSE_TYPE_COMMERCIAL
  48. help
  49. Commercial users can download their source directly by
  50. providing a username.
  51. config BR2_PACKAGE_QT_COMMERCIAL_PASSWORD
  52. string "Qt 4 Commercial License Password"
  53. depends on BR2_PACKAGE_QT_LICENSE_TYPE_COMMERCIAL
  54. help
  55. Commercial users can download their source directly by
  56. providing a password.
  57. config BR2_PACKAGE_QT_QT3SUPPORT
  58. bool "Compatibility with Qt3"
  59. help
  60. Turns on support for older Qt3. This will create an additional
  61. library with proxy code and increase the space required on target.
  62. If unsure say n.
  63. config BR2_PACKAGE_QT_GUI_MODULE
  64. bool "Gui Module"
  65. select BR2_PACKAGE_QT_NETWORK
  66. default y
  67. help
  68. Turns on support to Gui applications. If your board don't have
  69. video output, or you don't require Qt GUI, say n.
  70. if BR2_PACKAGE_QT_GUI_MODULE
  71. menu "Pixel depths"
  72. comment "Deselecting each option leads to Qt's default (8,16,32)"
  73. config BR2_PACKAGE_QT_PIXEL_DEPTH_ALL
  74. bool "All supported depths"
  75. if !BR2_PACKAGE_QT_PIXEL_DEPTH_ALL
  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. endif
  98. endmenu
  99. endif
  100. config BR2_PACKAGE_QT_GIF
  101. bool "Enable GIF support"
  102. depends on BR2_PACKAGE_QT_GUI_MODULE
  103. help
  104. This compiles and installs the plugin for GIF reading support.
  105. config BR2_PACKAGE_QT_LIBMNG
  106. bool "Enable libmng support"
  107. depends on BR2_PACKAGE_QT_GUI_MODULE
  108. help
  109. This compiles and installs the plugin for MNG support.
  110. choice
  111. prompt "JPEG support"
  112. depends on BR2_PACKAGE_QT_GUI_MODULE
  113. default BR2_PACKAGE_QT_NOJPEG
  114. help
  115. Select libjpeg support.
  116. config BR2_PACKAGE_QT_NOJPEG
  117. bool "No jpeg support"
  118. help
  119. Disable JPEG support
  120. config BR2_PACKAGE_QT_SYSTEMJPEG
  121. select BR2_PACKAGE_JPEG
  122. bool "System libjpeg"
  123. help
  124. Link against system libjpeg
  125. config BR2_PACKAGE_QT_QTJPEG
  126. bool "Use Qt bundled libjpeg"
  127. help
  128. Link against libjpeg proveded with Qt
  129. endchoice
  130. choice
  131. prompt "PNG support"
  132. depends on BR2_PACKAGE_QT_GUI_MODULE
  133. default BR2_PACKAGE_QT_NOPNG
  134. help
  135. Select which library to use if PNG support should be enabled.
  136. config BR2_PACKAGE_QT_NOPNG
  137. bool "No PNG support"
  138. config BR2_PACKAGE_QT_SYSTEMPNG
  139. bool "System libpng"
  140. select BR2_PACKAGE_LIBPNG
  141. config BR2_PACKAGE_QT_QTPNG
  142. bool "Use Qt bundled libpng"
  143. endchoice
  144. choice
  145. prompt "TIFF support"
  146. depends on BR2_PACKAGE_QT_GUI_MODULE
  147. default BR2_PACKAGE_QT_NOTIFF
  148. help
  149. Select which library to use if TIFF support should be enabled.
  150. config BR2_PACKAGE_QT_NOTIFF
  151. bool "No TIFF support"
  152. config BR2_PACKAGE_QT_SYSTEMTIFF
  153. bool "System libtiff"
  154. select BR2_PACKAGE_TIFF
  155. config BR2_PACKAGE_QT_QTTIFF
  156. bool "Use Qt bundled libtiff"
  157. endchoice
  158. choice
  159. prompt "zlib support"
  160. default BR2_PACKAGE_QT_QTZLIB
  161. help
  162. Select zlib support.
  163. config BR2_PACKAGE_QT_QTZLIB
  164. bool "Qt zlib"
  165. help
  166. Use the zlib bundled with Qt.
  167. config BR2_PACKAGE_QT_SYSTEMZLIB
  168. bool "System zlib"
  169. select BR2_PACKAGE_ZLIB
  170. help
  171. Use the shared zlib from the system.
  172. endchoice
  173. choice
  174. prompt "freetype2 support"
  175. depends on BR2_PACKAGE_QT_GUI_MODULE
  176. default BR2_PACKAGE_QT_NOFREETYPE
  177. help
  178. Select freetype2 support.
  179. config BR2_PACKAGE_QT_NOFREETYPE
  180. bool "no freetype2 support"
  181. help
  182. Do not compile in Freetype2 support.
  183. config BR2_PACKAGE_QT_QTFREETYPE
  184. bool "Qt freetype2"
  185. help
  186. Use the libfreetype bundled with Qt.
  187. config BR2_PACKAGE_QT_SYSTEMFREETYPE
  188. bool "System freetype2"
  189. select BR2_PACKAGE_FREETYPE
  190. help
  191. Use shared libfreetype from the target system.
  192. See http://www.freetype.org/
  193. endchoice
  194. config BR2_PACKAGE_QT_EMB_PLATFORM
  195. string "The embedded platform we are making Qt for"
  196. default "arm" if BR2_arm
  197. default "arm" if BR2_armeb
  198. default "avr32" if BR2_avr32
  199. default "x86" if BR2_i386
  200. default "x86_64" if BR2_x86_64
  201. default "mips" if BR2_mips
  202. default "mips" if BR2_mipsel
  203. default "ppc" if BR2_powerpc
  204. # Not that I really believe these will work..
  205. default "generic" if BR2_alpha
  206. default "generic" if BR2_chris
  207. default "generic" if BR2_m68k
  208. default "generic" if BR2_nios2
  209. default "generic" if BR2_sh
  210. default "generic" if BR2_sh64
  211. default "generic" if BR2_sparc
  212. help
  213. The target platform.
  214. source "package/qt/Config.sql.in"
  215. if BR2_PACKAGE_QT_GUI_MODULE
  216. source "package/qt/Config.gfx.in"
  217. source "package/qt/Config.mouse.in"
  218. endif
  219. config BR2_PACKAGE_QT_PHONON
  220. bool "Phonon Module"
  221. select BR2_PACKAGE_GSTREAMER
  222. select BR2_PACKAGE_GST_PLUGINS_BASE
  223. help
  224. Build the Phonon module. Support for different audio/video
  225. formats can be configured at the GStreamer package.
  226. If unsure, say n.
  227. config BR2_PACKAGE_QT_XML
  228. bool "XML Module"
  229. default y
  230. help
  231. Build the XML module.
  232. config BR2_PACKAGE_QT_XMLPATTERNS
  233. bool "XML Patterns Module"
  234. depends on BR2_PACKAGE_QT_XML
  235. help
  236. Build QtXmlPatterns module.
  237. If unsure, say n
  238. config BR2_PACKAGE_QT_SVG
  239. bool "SVG Module"
  240. help
  241. Build the SVG module.
  242. If unsure, say n
  243. config BR2_PACKAGE_QT_NETWORK
  244. bool "Network Module"
  245. default y
  246. help
  247. Install the Network module.
  248. if unsure, say y
  249. config BR2_PACKAGE_QT_WEBKIT
  250. bool "WebKit Module"
  251. depends on BR2_PACKAGE_QT_NETWORK
  252. help
  253. Build the WebKit module.
  254. If unsure, say n.
  255. config BR2_PACKAGE_QT_STL
  256. bool "STL support"
  257. help
  258. Compile STL support.
  259. If unsure, say n.
  260. config BR2_PACKAGE_QT_OPENSSL
  261. bool "Enable OpenSSL support"
  262. depends on BR2_PACKAGE_QT_NETWORK
  263. select BR2_PACKAGE_OPENSSL
  264. help
  265. Enable support for the OpenSSL encryption library. If you use
  266. QSslSocket say y here, otherwise, say no to save space on the
  267. target.
  268. If unsure, say n.
  269. config BR2_PACKAGE_QT_SCRIPT
  270. bool "Script Module"
  271. default y
  272. help
  273. Build the Qt Script module.
  274. if unsure, say y.
  275. config BR2_PACKAGE_QT_SCRIPTTOOLS
  276. bool "Script Tools Module"
  277. depends on BR2_PACKAGE_QT_SCRIPT
  278. help
  279. Build the Qt Script Tools module.
  280. if unsure, say n.
  281. endif # BR2_PACKAGE_QT