Config.in 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. comment "qt needs a toolchain w/ C++, threads"
  2. depends on !BR2_avr32
  3. depends on BR2_USE_MMU
  4. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
  5. menuconfig BR2_PACKAGE_QT
  6. bool "Qt"
  7. depends on !BR2_avr32 # lacks TLS
  8. depends on BR2_USE_MMU # fork
  9. depends on BR2_INSTALL_LIBSTDCPP
  10. depends on BR2_TOOLCHAIN_HAS_THREADS
  11. help
  12. Qt is a cross-platform application and UI framework for
  13. developers using C++.
  14. http://qt-project.org
  15. if BR2_PACKAGE_QT
  16. choice
  17. prompt "Qt installation"
  18. help
  19. Selects the type of installation: standard or embedded
  20. config BR2_PACKAGE_QT_EMBEDDED
  21. bool "Qt embedded"
  22. help
  23. The embedded Qt installation targets embedded systems without X.org.
  24. Provides backends for framebuffer.
  25. If unsure, say Y.
  26. comment "Qt standard (X11) not available (need X.org)"
  27. depends on !BR2_PACKAGE_XORG7
  28. config BR2_PACKAGE_QT_X11
  29. bool "Qt standard (X11)"
  30. depends on BR2_PACKAGE_XORG7
  31. select BR2_PACKAGE_FONTCONFIG
  32. select BR2_PACKAGE_XLIB_LIBXI
  33. select BR2_PACKAGE_XLIB_LIBX11
  34. select BR2_PACKAGE_XLIB_LIBXRENDER
  35. select BR2_PACKAGE_XLIB_LIBXCURSOR
  36. select BR2_PACKAGE_XLIB_LIBXRANDR
  37. select BR2_PACKAGE_XLIB_LIBXEXT
  38. select BR2_PACKAGE_XLIB_LIBXV
  39. select BR2_PACKAGE_QT_SYSTEMFREETYPE
  40. select BR2_PACKAGE_QT_GUI_MODULE
  41. help
  42. The standard Qt installation provides X.org backend. If you don't want to
  43. use X.org, say N.
  44. endchoice
  45. config BR2_PACKAGE_QT_DEBUG
  46. bool "Compile with debug support"
  47. help
  48. If unsure, say N.
  49. config BR2_PACKAGE_QT_DEMOS
  50. bool "Compile and install Qt demos (with code)"
  51. select BR2_PACKAGE_QT_GUI_MODULE
  52. help
  53. If unsure, say N.
  54. config BR2_PACKAGE_QT_TRANSLATION_FILES
  55. bool "Install translation files"
  56. help
  57. Install binary .qm translation files.
  58. Say y if you need these files. They will take about 8 MB
  59. on the target root filesystem.
  60. config BR2_PACKAGE_QT_EXAMPLES
  61. bool "Compile and install Qt examples (with code)"
  62. select BR2_PACKAGE_QT_GUI_MODULE
  63. help
  64. If unsure, say N.
  65. choice
  66. prompt "Library type"
  67. help
  68. Selects the library type: Shared or Static
  69. config BR2_PACKAGE_QT_SHARED
  70. bool "Shared library"
  71. depends on !BR2_STATIC_LIBS
  72. help
  73. Create and use shared Qt libraries.
  74. If you have multiple programs that depend on Qt or intend to use
  75. plugins, say Y.
  76. config BR2_PACKAGE_QT_STATIC
  77. bool "Static Library"
  78. help
  79. Create and use static Qt libraries.
  80. If you don't have multiple programs on the target that depends on
  81. Qt, then this will save you quite some of storage space.
  82. If unsure, say Y.
  83. endchoice
  84. config BR2_PACKAGE_QT_LICENSE_APPROVED
  85. bool "Approve free license"
  86. help
  87. Select this if you approve one of the available free licenses for the
  88. Qt4 library.
  89. By doing this you will not be asked while the library is compiled.
  90. Please read and understand the license terms before approving this.
  91. LGPL v2.1: http://doc.trolltech.com/4.5/lgpl.html
  92. GPL v3.0: http://doc.trolltech.com/4.5/gpl.html
  93. config BR2_PACKAGE_QT_CONFIG_FILE
  94. string "Config file"
  95. help
  96. Configure options allow to set which modules are being
  97. compiled or not in Qt, but Qt also provide a more
  98. fine-grained mechanism to configure which features should be
  99. enabled or disabled, through a header file. Examples of such
  100. header files can be found in src/corelib/global/qconfig-*.h
  101. in the Qt sources.
  102. This option allows to set the path of such a configuration
  103. file, which Buildroot will give to Qt at compile time.
  104. config BR2_PACKAGE_QT_QT3SUPPORT
  105. bool "Compatibility with Qt3"
  106. depends on BR2_PACKAGE_QT_GUI_MODULE
  107. help
  108. Turns on support for older Qt3. This will create an additional
  109. library with proxy code and increase the space required on target.
  110. If unsure say n.
  111. config BR2_PACKAGE_QT_GUI_MODULE
  112. bool "Gui Module"
  113. select BR2_PACKAGE_QT_NETWORK
  114. default y
  115. help
  116. Turns on support for Gui applications. If your board doesn't have
  117. video output, or you don't require Qt GUI, say n.
  118. if BR2_PACKAGE_QT_GUI_MODULE
  119. if BR2_PACKAGE_QT_EMBEDDED
  120. menu "Pixel depths"
  121. comment "Deselecting each option leads to Qt's default (8,16,32)"
  122. config BR2_PACKAGE_QT_PIXEL_DEPTH_1
  123. bool "1 bpp, black/white"
  124. config BR2_PACKAGE_QT_PIXEL_DEPTH_4
  125. bool "4 bpp, grayscale"
  126. config BR2_PACKAGE_QT_PIXEL_DEPTH_8
  127. bool "8 bpp, paletted"
  128. default y
  129. config BR2_PACKAGE_QT_PIXEL_DEPTH_12
  130. bool "12 bpp, rgb 4-4-4"
  131. config BR2_PACKAGE_QT_PIXEL_DEPTH_15
  132. bool "15 bpp, rgb 5-5-5"
  133. config BR2_PACKAGE_QT_PIXEL_DEPTH_16
  134. bool "16 bpp, rgb 5-6-5"
  135. default y
  136. config BR2_PACKAGE_QT_PIXEL_DEPTH_18
  137. bool "18 bpp, rgb 6-6-6"
  138. config BR2_PACKAGE_QT_PIXEL_DEPTH_24
  139. bool "24 bpp, rgb 8-8-8"
  140. config BR2_PACKAGE_QT_PIXEL_DEPTH_32
  141. bool "32 bpp, argb 8-8-8-8 and rgb 8-8-8"
  142. default y
  143. endmenu
  144. menu "Fonts"
  145. config BR2_PACKAGE_QT_FONT_MICRO
  146. bool "micro"
  147. default y
  148. config BR2_PACKAGE_QT_FONT_FIXED
  149. bool "fixed"
  150. default y
  151. config BR2_PACKAGE_QT_FONT_HELVETICA
  152. bool "helvetica"
  153. default y
  154. config BR2_PACKAGE_QT_FONT_JAPANESE
  155. bool "japanese"
  156. config BR2_PACKAGE_QT_FONT_UNIFONT
  157. bool "unicode"
  158. endmenu
  159. endif # BR2_PACKAGE_QT_EMBEDDED
  160. choice
  161. prompt "freetype2 support"
  162. default BR2_PACKAGE_QT_NOFREETYPE
  163. help
  164. Select freetype2 support.
  165. config BR2_PACKAGE_QT_NOFREETYPE
  166. bool "no freetype2 support"
  167. depends on BR2_PACKAGE_QT_EMBEDDED
  168. help
  169. Do not compile in Freetype2 support.
  170. comment "Qt freetype2 needs Qt embedded"
  171. depends on BR2_PACKAGE_QT_X11
  172. config BR2_PACKAGE_QT_QTFREETYPE
  173. bool "Qt freetype2"
  174. depends on BR2_PACKAGE_QT_EMBEDDED
  175. help
  176. Use the libfreetype bundled with Qt.
  177. config BR2_PACKAGE_QT_SYSTEMFREETYPE
  178. bool "System freetype2"
  179. select BR2_PACKAGE_FREETYPE
  180. help
  181. Use shared libfreetype from the target system.
  182. See http://www.freetype.org/
  183. endchoice
  184. config BR2_PACKAGE_QT_GIF
  185. bool "Enable GIF support"
  186. help
  187. This compiles and installs the plugin for GIF reading support.
  188. config BR2_PACKAGE_QT_LIBMNG
  189. bool "Enable libmng support"
  190. help
  191. This compiles and installs the plugin for MNG support.
  192. choice
  193. prompt "JPEG support"
  194. default BR2_PACKAGE_QT_NOJPEG
  195. help
  196. Select libjpeg support.
  197. config BR2_PACKAGE_QT_NOJPEG
  198. bool "No jpeg support"
  199. help
  200. Disable JPEG support
  201. config BR2_PACKAGE_QT_SYSTEMJPEG
  202. select BR2_PACKAGE_JPEG
  203. bool "System libjpeg"
  204. help
  205. Link against system libjpeg
  206. config BR2_PACKAGE_QT_QTJPEG
  207. bool "Use Qt bundled libjpeg"
  208. help
  209. Link against libjpeg proveded with Qt
  210. endchoice
  211. choice
  212. prompt "PNG support"
  213. default BR2_PACKAGE_QT_NOPNG
  214. help
  215. Select which library to use if PNG support should be enabled.
  216. config BR2_PACKAGE_QT_NOPNG
  217. bool "No PNG support"
  218. config BR2_PACKAGE_QT_SYSTEMPNG
  219. bool "System libpng"
  220. select BR2_PACKAGE_LIBPNG
  221. config BR2_PACKAGE_QT_QTPNG
  222. bool "Use Qt bundled libpng"
  223. endchoice
  224. choice
  225. prompt "TIFF support"
  226. default BR2_PACKAGE_QT_NOTIFF
  227. help
  228. Select which library to use if TIFF support should be enabled.
  229. config BR2_PACKAGE_QT_NOTIFF
  230. bool "No TIFF support"
  231. config BR2_PACKAGE_QT_SYSTEMTIFF
  232. bool "System libtiff"
  233. select BR2_PACKAGE_TIFF
  234. config BR2_PACKAGE_QT_QTTIFF
  235. bool "Use Qt bundled libtiff"
  236. endchoice
  237. endif # BR2_PACKAGE_QT_GUI_MODULE
  238. choice
  239. prompt "zlib support"
  240. default BR2_PACKAGE_QT_QTZLIB
  241. help
  242. Select zlib support.
  243. config BR2_PACKAGE_QT_QTZLIB
  244. bool "Qt zlib"
  245. help
  246. Use the zlib bundled with Qt.
  247. config BR2_PACKAGE_QT_SYSTEMZLIB
  248. bool "System zlib"
  249. select BR2_PACKAGE_ZLIB
  250. help
  251. Use the shared zlib from the system.
  252. endchoice
  253. source "package/qt/Config.sql.in"
  254. if BR2_PACKAGE_QT_GUI_MODULE
  255. if BR2_PACKAGE_QT_EMBEDDED
  256. source "package/qt/Config.gfx.in"
  257. source "package/qt/Config.mouse.in"
  258. source "package/qt/Config.keyboard.in"
  259. endif
  260. config BR2_PACKAGE_QT_PHONON
  261. bool "Phonon Module"
  262. depends on BR2_PACKAGE_GSTREAMER
  263. select BR2_PACKAGE_GST_PLUGINS_BASE
  264. default y
  265. help
  266. Build the Phonon module. Support for different audio/video
  267. formats can be configured at the GStreamer package.
  268. If unsure, say n.
  269. comment "Phonon module needs gstreamer"
  270. depends on !BR2_PACKAGE_GSTREAMER
  271. config BR2_PACKAGE_QT_PHONON_BACKEND
  272. bool "Phonon Module Backend"
  273. depends on BR2_PACKAGE_QT_PHONON
  274. help
  275. Build the platform Phonon plugin.
  276. If unsure, say n.
  277. config BR2_PACKAGE_QT_OPENGL_ES
  278. bool "OpenGL ES v2.x support"
  279. depends on BR2_PACKAGE_HAS_LIBGLES
  280. depends on BR2_PACKAGE_HAS_LIBEGL
  281. help
  282. Enable the OpenGL ES v2.x support.
  283. endif
  284. config BR2_PACKAGE_QT_DBUS
  285. bool "DBus Module"
  286. select BR2_PACKAGE_DBUS
  287. depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
  288. depends on BR2_USE_MMU # dbus
  289. help
  290. Build the Qt DBus module.
  291. comment "DBus Module needs a toolchain w/ threads"
  292. depends on BR2_USE_MMU
  293. depends on !BR2_TOOLCHAIN_HAS_THREADS
  294. config BR2_PACKAGE_QT_XML
  295. bool "XML Module"
  296. default y
  297. help
  298. Build the XML module.
  299. config BR2_PACKAGE_QT_XMLPATTERNS
  300. bool "XML Patterns Module"
  301. depends on BR2_PACKAGE_QT_XML
  302. help
  303. Build QtXmlPatterns module.
  304. If unsure, say n
  305. config BR2_PACKAGE_QT_MULTIMEDIA
  306. bool "Multimedia Module"
  307. depends on BR2_PACKAGE_QT_GUI_MODULE
  308. help
  309. Build QtMultimedia module.
  310. config BR2_PACKAGE_QT_AUDIO_BACKEND
  311. bool "QtMultimedia Audio backend"
  312. depends on BR2_PACKAGE_QT_MULTIMEDIA
  313. select BR2_PACKAGE_ALSA_LIB
  314. depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
  315. help
  316. Build the ALSA audio backend into QtMultimedia
  317. config BR2_PACKAGE_QT_SVG
  318. bool "SVG Module"
  319. depends on BR2_PACKAGE_QT_GUI_MODULE
  320. help
  321. Build the SVG module.
  322. If unsure, say n
  323. config BR2_PACKAGE_QT_NETWORK
  324. bool "Network Module"
  325. default y
  326. help
  327. Install the Network module.
  328. if unsure, say y
  329. config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
  330. bool
  331. # see src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
  332. # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
  333. default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazeel || \
  334. BR2_microblazebe || BR2_mips || BR2_mipsel || \
  335. (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_NABI32 || BR2_powerpc || \
  336. BR2_powerpc64 || BR2_powerpc64el || BR2_sh4 || BR2_sh4eb || \
  337. BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64
  338. config BR2_PACKAGE_QT_WEBKIT
  339. bool "WebKit Module"
  340. depends on BR2_PACKAGE_QT_SHARED
  341. depends on BR2_PACKAGE_QT_GUI_MODULE
  342. depends on BR2_PACKAGE_QT_NETWORK
  343. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
  344. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
  345. help
  346. Build the WebKit module.
  347. If unsure, say n.
  348. comment "WebKit needs shared library/NPTL toolchain/gui/network support"
  349. depends on !(BR2_PACKAGE_QT_SHARED && BR2_PACKAGE_QT_GUI_MODULE && BR2_PACKAGE_QT_NETWORK)
  350. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  351. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
  352. config BR2_PACKAGE_QT_STL
  353. bool "STL support"
  354. help
  355. Compile STL support.
  356. If unsure, say n.
  357. config BR2_PACKAGE_QT_OPENSSL
  358. bool "Enable OpenSSL support"
  359. depends on BR2_PACKAGE_QT_NETWORK
  360. select BR2_PACKAGE_OPENSSL
  361. help
  362. Enable support for the OpenSSL encryption library. If you use
  363. QSslSocket say y here, otherwise, say no to save space on the
  364. target.
  365. If unsure, say n.
  366. config BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
  367. bool
  368. # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
  369. default y if BR2_arm || BR2_armeb || aarch64 || BR2_i386 || \
  370. BR2_microblazeel || BR2_microblazebe || BR2_mips || BR2_mipsel || \
  371. BR2_mips64 || BR2_mips64el || BR2_nios2 || BR2_powerpc || \
  372. BR2_powerpc64 || BR2_powerpc64el || BR2_sh4 || BR2_sh4eb || \
  373. BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64
  374. config BR2_PACKAGE_QT_SCRIPT
  375. bool "Script Module"
  376. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
  377. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
  378. default y
  379. help
  380. Build the Qt Script module.
  381. if unsure, say y.
  382. comment "Script Module needs a toolchain with NPTL"
  383. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  384. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
  385. config BR2_PACKAGE_QT_SCRIPTTOOLS
  386. bool "Script Tools Module"
  387. depends on BR2_PACKAGE_QT_SCRIPT
  388. depends on BR2_PACKAGE_QT_GUI_MODULE
  389. help
  390. Build the Qt Script Tools module.
  391. if unsure, say n.
  392. config BR2_PACKAGE_QT_DECLARATIVE
  393. bool "Declarative module"
  394. depends on BR2_PACKAGE_QT_SCRIPT
  395. depends on BR2_PACKAGE_QT_GUI_MODULE
  396. depends on BR2_PACKAGE_QT_SQL_MODULE
  397. help
  398. Build the Qt Declarative Module for qml support
  399. if unsure, say n.
  400. config BR2_PACKAGE_QT_TEST
  401. bool "Test Module"
  402. help
  403. Install the Test module.
  404. endif # BR2_PACKAGE_QT