Config.in 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  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. help
  247. Use the zlib bundled with Qt.
  248. config BR2_PACKAGE_QT_SYSTEMZLIB
  249. bool "System zlib"
  250. select BR2_PACKAGE_ZLIB
  251. help
  252. Use the shared zlib from the system.
  253. endchoice
  254. source "package/qt/Config.sql.in"
  255. if BR2_PACKAGE_QT_GUI_MODULE
  256. if BR2_PACKAGE_QT_EMBEDDED
  257. source "package/qt/Config.gfx.in"
  258. source "package/qt/Config.mouse.in"
  259. source "package/qt/Config.keyboard.in"
  260. endif
  261. config BR2_PACKAGE_QT_PHONON
  262. bool "Phonon Module"
  263. default y
  264. depends on BR2_PACKAGE_GSTREAMER
  265. select BR2_PACKAGE_GST_PLUGINS_BASE
  266. help
  267. Build the Phonon module. Support for different audio/video
  268. formats can be configured at the GStreamer package.
  269. If unsure, say n.
  270. comment "Phonon module needs gstreamer"
  271. depends on !BR2_PACKAGE_GSTREAMER
  272. config BR2_PACKAGE_QT_PHONON_BACKEND
  273. bool "Phonon Module Backend"
  274. depends on BR2_PACKAGE_QT_PHONON
  275. help
  276. Build the platform Phonon plugin.
  277. If unsure, say n.
  278. config BR2_PACKAGE_QT_OPENGL
  279. bool "OpenGL support"
  280. default y
  281. depends on (BR2_PACKAGE_HAS_LIBGL && BR2_PACKAGE_QT_X11) || \
  282. (BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_HAS_LIBGLES)
  283. help
  284. This option enables OpenGL support.
  285. if BR2_PACKAGE_QT_OPENGL
  286. choice
  287. prompt "OpenGL API"
  288. help
  289. Select OpenGL API.
  290. comment "Desktop OpenGL not available (needs Qt standard (X11))"
  291. depends on !BR2_PACKAGE_QT_X11
  292. config BR2_PACKAGE_QT_OPENGL_GL_DESKTOP
  293. bool "Desktop OpenGL"
  294. depends on BR2_PACKAGE_HAS_LIBGL
  295. depends on BR2_PACKAGE_QT_X11
  296. help
  297. Use desktop OpenGL.
  298. config BR2_PACKAGE_QT_OPENGL_ES
  299. bool "OpenGL ES v2.x support"
  300. depends on BR2_PACKAGE_HAS_LIBGLES
  301. depends on BR2_PACKAGE_HAS_LIBEGL
  302. help
  303. Enable the OpenGL ES v2.x support.
  304. endchoice
  305. endif # BR2_PACKAGE_QT_OPENGL
  306. endif
  307. config BR2_PACKAGE_QT_DBUS
  308. bool "DBus Module"
  309. depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
  310. depends on BR2_USE_MMU # dbus
  311. select BR2_PACKAGE_DBUS
  312. help
  313. Build the Qt DBus module.
  314. comment "DBus Module needs a toolchain w/ threads"
  315. depends on BR2_USE_MMU
  316. depends on !BR2_TOOLCHAIN_HAS_THREADS
  317. config BR2_PACKAGE_QT_XML
  318. bool "XML Module"
  319. default y
  320. help
  321. Build the XML module.
  322. config BR2_PACKAGE_QT_XMLPATTERNS
  323. bool "XML Patterns Module"
  324. depends on BR2_PACKAGE_QT_XML
  325. help
  326. Build QtXmlPatterns module.
  327. If unsure, say n
  328. config BR2_PACKAGE_QT_MULTIMEDIA
  329. bool "Multimedia Module"
  330. depends on BR2_PACKAGE_QT_GUI_MODULE
  331. help
  332. Build QtMultimedia module.
  333. config BR2_PACKAGE_QT_AUDIO_BACKEND
  334. bool "QtMultimedia Audio backend"
  335. depends on BR2_PACKAGE_QT_MULTIMEDIA
  336. depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
  337. select BR2_PACKAGE_ALSA_LIB
  338. help
  339. Build the ALSA audio backend into QtMultimedia
  340. config BR2_PACKAGE_QT_SVG
  341. bool "SVG Module"
  342. depends on BR2_PACKAGE_QT_GUI_MODULE
  343. help
  344. Build the SVG module.
  345. If unsure, say n
  346. config BR2_PACKAGE_QT_NETWORK
  347. bool "Network Module"
  348. default y
  349. help
  350. Install the Network module.
  351. if unsure, say y
  352. config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
  353. bool
  354. # see src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
  355. # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
  356. default y if BR2_arc || BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazeel || \
  357. BR2_microblazebe || BR2_mips || BR2_mipsel || \
  358. (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_NABI32 || BR2_powerpc || \
  359. BR2_powerpc64 || BR2_powerpc64le || BR2_x86_64 || \
  360. BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
  361. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  362. config BR2_PACKAGE_QT_WEBKIT
  363. bool "WebKit Module"
  364. depends on BR2_PACKAGE_QT_SCRIPT
  365. depends on BR2_PACKAGE_QT_SHARED
  366. depends on BR2_PACKAGE_QT_GUI_MODULE
  367. depends on BR2_PACKAGE_QT_NETWORK
  368. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
  369. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
  370. depends on BR2_PACKAGE_GSTREAMER
  371. select BR2_PACKAGE_GST_PLUGINS_BASE
  372. select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
  373. help
  374. Build the WebKit module.
  375. If unsure, say n.
  376. comment "WebKit needs a toolchain w/ dynamic library, NPTL"
  377. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
  378. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIB
  379. comment "WebKit needs QtShared/Script/Gui/Network and Gstreamer 0.10"
  380. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
  381. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL && !BR2_STATIC_LIB
  382. depends on !BR2_PACKAGE_QT_SCRIPT || !BR2_PACKAGE_QT_SHARED \
  383. || !BR2_PACKAGE_QT_GUI_MODULE || !BR2_PACKAGE_QT_NETWORK \
  384. || !BR2_PACKAGE_GSTREAMER
  385. config BR2_PACKAGE_QT_STL
  386. bool "STL support"
  387. help
  388. Compile STL support.
  389. If unsure, say n.
  390. config BR2_PACKAGE_QT_OPENSSL
  391. bool "Enable OpenSSL support"
  392. depends on BR2_PACKAGE_QT_NETWORK
  393. select BR2_PACKAGE_OPENSSL
  394. help
  395. Enable support for the OpenSSL encryption library. If you use
  396. QSslSocket say y here, otherwise, say no to save space on the
  397. target.
  398. If unsure, say n.
  399. config BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
  400. bool
  401. # see http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html
  402. default y if BR2_arc || BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || \
  403. BR2_microblazeel || BR2_microblazebe || BR2_mips || BR2_mipsel || \
  404. BR2_mips64 || BR2_mips64el || BR2_nios2 || BR2_powerpc || \
  405. BR2_powerpc64 || BR2_powerpc64le || BR2_sh4 || BR2_sh4eb || \
  406. BR2_sh4a || BR2_sh4aeb || BR2_x86_64
  407. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  408. config BR2_PACKAGE_QT_SCRIPT
  409. bool "Script Module"
  410. default y
  411. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
  412. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
  413. help
  414. Build the Qt Script module.
  415. if unsure, say y.
  416. comment "Script Module needs a toolchain with NPTL"
  417. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  418. depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT
  419. config BR2_PACKAGE_QT_SCRIPTTOOLS
  420. bool "Script Tools Module"
  421. depends on BR2_PACKAGE_QT_SCRIPT
  422. depends on BR2_PACKAGE_QT_GUI_MODULE
  423. help
  424. Build the Qt Script Tools module.
  425. if unsure, say n.
  426. config BR2_PACKAGE_QT_DECLARATIVE
  427. bool "Declarative module"
  428. depends on BR2_PACKAGE_QT_SCRIPT
  429. depends on BR2_PACKAGE_QT_GUI_MODULE
  430. depends on BR2_PACKAGE_QT_SQL_MODULE
  431. help
  432. Build the Qt Declarative Module for qml support
  433. if unsure, say n.
  434. config BR2_PACKAGE_QT_TEST
  435. bool "Test Module"
  436. help
  437. Install the Test module.
  438. endif # BR2_PACKAGE_QT