Config.in 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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_nios2
  199. default "generic" if BR2_sh
  200. default "generic" if BR2_sh64
  201. default "generic" if BR2_sparc
  202. help
  203. The target platform.
  204. source "package/qt/Config.sql.in"
  205. if BR2_PACKAGE_QT_GUI_MODULE
  206. source "package/qt/Config.gfx.in"
  207. source "package/qt/Config.mouse.in"
  208. source "package/qt/Config.keyboard.in"
  209. endif
  210. config BR2_PACKAGE_QT_PHONON
  211. bool "Phonon Module"
  212. select BR2_PACKAGE_GSTREAMER
  213. select BR2_PACKAGE_GST_PLUGINS_BASE
  214. help
  215. Build the Phonon module. Support for different audio/video
  216. formats can be configured at the GStreamer package.
  217. If unsure, say n.
  218. config BR2_PACKAGE_QT_XML
  219. bool "XML Module"
  220. default y
  221. help
  222. Build the XML module.
  223. config BR2_PACKAGE_QT_XMLPATTERNS
  224. bool "XML Patterns Module"
  225. depends on BR2_PACKAGE_QT_XML
  226. help
  227. Build QtXmlPatterns module.
  228. If unsure, say n
  229. config BR2_PACKAGE_QT_SVG
  230. bool "SVG Module"
  231. help
  232. Build the SVG module.
  233. If unsure, say n
  234. config BR2_PACKAGE_QT_NETWORK
  235. bool "Network Module"
  236. default y
  237. help
  238. Install the Network module.
  239. if unsure, say y
  240. config BR2_PACKAGE_QT_WEBKIT
  241. bool "WebKit Module"
  242. depends on BR2_PACKAGE_QT_NETWORK
  243. help
  244. Build the WebKit module.
  245. If unsure, say n.
  246. config BR2_PACKAGE_QT_STL
  247. bool "STL support"
  248. help
  249. Compile STL support.
  250. If unsure, say n.
  251. config BR2_PACKAGE_QT_OPENSSL
  252. bool "Enable OpenSSL support"
  253. depends on BR2_PACKAGE_QT_NETWORK
  254. select BR2_PACKAGE_OPENSSL
  255. help
  256. Enable support for the OpenSSL encryption library. If you use
  257. QSslSocket say y here, otherwise, say no to save space on the
  258. target.
  259. If unsure, say n.
  260. config BR2_PACKAGE_QT_SCRIPT
  261. bool "Script Module"
  262. default y
  263. help
  264. Build the Qt Script module.
  265. if unsure, say y.
  266. config BR2_PACKAGE_QT_SCRIPTTOOLS
  267. bool "Script Tools Module"
  268. depends on BR2_PACKAGE_QT_SCRIPT
  269. help
  270. Build the Qt Script Tools module.
  271. if unsure, say n.
  272. endif # BR2_PACKAGE_QT