Config.in 13 KB

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