Config.in 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. config BR2_PACKAGE_QT5BASE
  2. bool "qt5base"
  3. select BR2_PACKAGE_ZLIB
  4. select BR2_PACKAGE_PCRE2
  5. select BR2_PACKAGE_PCRE2_16
  6. select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL
  7. help
  8. Qt is a cross-platform application and UI framework for
  9. developers using C++.
  10. This package corresponds to the qt5base module, which
  11. contains the base Qt libraries: QtCore, QtNetwork, QtGui,
  12. QtWidgets, etc.
  13. https://qt.io
  14. if BR2_PACKAGE_QT5BASE
  15. config BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS
  16. string "Custom configuration options"
  17. help
  18. Define custom qt5 configuration options which can be used to
  19. enable or disable options not managed by buildroot. These
  20. options are appended to the ones generated by buildroot and
  21. passed to qt5base during configuration.
  22. E.g. to remove the Windows Vista style option, add the option
  23. -no-feature-style_windowsvista.
  24. config BR2_PACKAGE_QT5BASE_CONFIG_FILE
  25. string "Config file"
  26. help
  27. Configure options allow to set which modules are being
  28. compiled or not in Qt, but Qt also provide a more
  29. fine-grained mechanism to configure which features should be
  30. enabled or disabled, through a header file. Examples of such
  31. header files can be found in src/corelib/global/qconfig-*.h
  32. in the Qt sources.
  33. This option allows to set the path of such a configuration
  34. file, which Buildroot will give to Qt at compile time.
  35. config BR2_PACKAGE_QT5BASE_EXAMPLES
  36. bool "Compile and install examples (with code)"
  37. select BR2_PACKAGE_QT5BASE_NETWORK
  38. select BR2_PACKAGE_QT5BASE_XML
  39. help
  40. If unsure, say N.
  41. config BR2_PACKAGE_QT5BASE_NETWORK
  42. def_bool y
  43. config BR2_PACKAGE_QT5BASE_CONCURRENT
  44. bool "concurrent module"
  45. help
  46. This options enables the Qt5Concurrent library.
  47. config BR2_PACKAGE_QT5BASE_SQL
  48. def_bool y
  49. if BR2_PACKAGE_QT5BASE_SQL
  50. config BR2_PACKAGE_QT5BASE_MYSQL
  51. bool "MySQL Plugin"
  52. depends on BR2_USE_MMU # mysql
  53. select BR2_PACKAGE_MARIADB
  54. select BR2_PACKAGE_NCURSES
  55. select BR2_PACKAGE_READLINE
  56. help
  57. Build MySQL plugin
  58. If unsure, say n.
  59. config BR2_PACKAGE_QT5BASE_PSQL
  60. bool "PostgreSQL Plugin"
  61. depends on BR2_USE_MMU # postgresql
  62. depends on !BR2_STATIC_LIBS
  63. depends on BR2_USE_WCHAR # postgresql
  64. depends on !BR2_OPTIMIZE_FAST # postgresql
  65. select BR2_PACKAGE_POSTGRESQL
  66. help
  67. Build PostgreSQL plugin
  68. If unsure, say n.
  69. comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library"
  70. depends on BR2_USE_MMU
  71. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  72. comment "PostgreSQL plugin can't be built with Optimize for fast"
  73. depends on BR2_OPTIMIZE_FAST
  74. choice
  75. prompt "SQLite 3 support"
  76. default BR2_PACKAGE_QT5BASE_SQLITE_NONE
  77. help
  78. Select SQLite support.
  79. config BR2_PACKAGE_QT5BASE_SQLITE_NONE
  80. bool "No sqlite support"
  81. help
  82. Do not compile any kind of SQLite support.
  83. config BR2_PACKAGE_QT5BASE_SQLITE_QT
  84. bool "Qt SQLite"
  85. help
  86. Use Qt bundled SQLite support.
  87. config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
  88. bool "System SQLite"
  89. select BR2_PACKAGE_SQLITE
  90. select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
  91. help
  92. Use system SQLite.
  93. endchoice
  94. endif
  95. config BR2_PACKAGE_QT5BASE_TEST
  96. def_bool y
  97. config BR2_PACKAGE_QT5BASE_XML
  98. def_bool y
  99. config BR2_PACKAGE_QT5BASE_GUI
  100. bool "gui module"
  101. select BR2_PACKAGE_FREETYPE
  102. # At least one graphic backend must be enabled, so enable
  103. # linuxfb if nothing is enabled.
  104. select BR2_PACKAGE_QT5BASE_LINUXFB if \
  105. !BR2_PACKAGE_QT5BASE_DIRECTFB && \
  106. !BR2_PACKAGE_QT5BASE_XCB && \
  107. !BR2_PACKAGE_QT5BASE_EGLFS
  108. help
  109. This option enables the Qt5Gui library.
  110. if BR2_PACKAGE_QT5BASE_GUI
  111. config BR2_PACKAGE_QT5BASE_WIDGETS
  112. bool "widgets module"
  113. select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
  114. help
  115. This option enables the Qt5Widgets library.
  116. comment "OpenGL support needs an OpenGL-capable backend"
  117. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
  118. config BR2_PACKAGE_QT5BASE_OPENGL
  119. bool "OpenGL support"
  120. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  121. help
  122. This option enables OpenGL support.
  123. if BR2_PACKAGE_QT5BASE_OPENGL
  124. choice
  125. prompt "OpenGL API"
  126. help
  127. Select OpenGL API.
  128. config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
  129. bool "Desktop OpenGL"
  130. depends on BR2_PACKAGE_HAS_LIBGL
  131. help
  132. Use desktop OpenGL.
  133. config BR2_PACKAGE_QT5BASE_OPENGL_ES2
  134. bool "OpenGL ES 2.0+"
  135. depends on BR2_PACKAGE_HAS_LIBGLES
  136. help
  137. Use OpenGL ES 2.0 and later versions.
  138. endchoice
  139. config BR2_PACKAGE_QT5BASE_OPENGL_LIB
  140. bool "opengl module"
  141. select BR2_PACKAGE_QT5BASE_WIDGETS
  142. help
  143. This option enables the Qt5OpenGL library. This library
  144. includes OpenGL support classes provided to ease porting
  145. from Qt 4.x.
  146. endif
  147. config BR2_PACKAGE_QT5BASE_VULKAN
  148. bool "Vulkan support"
  149. depends on BR2_INSTALL_LIBSTDCPP # vulkan-loader
  150. depends on !BR2_STATIC_LIBS # vulkan-loader
  151. depends on BR2_TOOLCHAIN_HAS_THREADS # vulkan-loader
  152. select BR2_PACKAGE_VULKAN_HEADERS
  153. select BR2_PACKAGE_VULKAN_LOADER
  154. help
  155. This option enables Vulkan support.
  156. config BR2_PACKAGE_QT5BASE_LINUXFB
  157. bool "linuxfb support"
  158. config BR2_PACKAGE_QT5BASE_DIRECTFB
  159. bool "directfb support"
  160. depends on BR2_PACKAGE_DIRECTFB
  161. comment "directfb backend available if directfb is enabled"
  162. depends on !BR2_PACKAGE_DIRECTFB
  163. config BR2_PACKAGE_QT5BASE_XCB
  164. bool "X.org XCB support"
  165. depends on BR2_PACKAGE_XORG7
  166. select BR2_PACKAGE_XLIB_LIBX11
  167. select BR2_PACKAGE_LIBXCB
  168. select BR2_PACKAGE_XCB_UTIL_IMAGE
  169. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  170. select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
  171. select BR2_PACKAGE_XCB_UTIL_WM
  172. select BR2_PACKAGE_LIBXKBCOMMON
  173. comment "X.org XCB backend available if X.org is enabled"
  174. depends on !BR2_PACKAGE_XORG7
  175. config BR2_PACKAGE_QT5BASE_EGLFS
  176. bool "eglfs support"
  177. depends on BR2_PACKAGE_HAS_LIBEGL
  178. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  179. select BR2_PACKAGE_QT5BASE_OPENGL
  180. comment "eglfs backend available if OpenGL and EGL are enabled"
  181. depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
  182. config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
  183. string "Default graphical platform"
  184. help
  185. Choose the default platform abstraction to use for graphical
  186. applications (e.g xcb, linuxfb, eglfs, ...). If this is
  187. empty, the default for your architecture will be used
  188. (usually this is eglfs).
  189. You can get a list of supported platforms by running a Qt
  190. application with the option "-platform help" on your
  191. target. You can choose a different platform at runtime with
  192. the -platform option.
  193. config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
  194. depends on BR2_PACKAGE_QT5BASE_WIDGETS
  195. def_bool y
  196. config BR2_PACKAGE_QT5BASE_FONTCONFIG
  197. bool "fontconfig support"
  198. select BR2_PACKAGE_FONTCONFIG
  199. help
  200. This option enables Fontconfig and Freetype support using
  201. the system fontconfig and freetype2 libraries.
  202. config BR2_PACKAGE_QT5BASE_HARFBUZZ
  203. bool "harfbuzz support"
  204. select BR2_PACKAGE_HARFBUZZ if \
  205. BR2_TOOLCHAIN_HAS_SYNC_4 && \
  206. BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  207. help
  208. This option enables HarfBuzz support (either system harfbuzz
  209. if the toolchain supports __sync for 4 bytes, or the qt
  210. provided one which avoids this dependency by using QAtomic).
  211. config BR2_PACKAGE_QT5BASE_GIF
  212. bool "GIF support"
  213. help
  214. This compiles and installs the plugin for GIF reading support.
  215. config BR2_PACKAGE_QT5BASE_JPEG
  216. bool "JPEG support"
  217. select BR2_PACKAGE_JPEG
  218. help
  219. This option enables JPEG support using the system libjpeg
  220. library.
  221. config BR2_PACKAGE_QT5BASE_PNG
  222. bool "PNG support"
  223. select BR2_PACKAGE_LIBPNG
  224. help
  225. This option enables PNG support using the system libpng
  226. library.
  227. endif
  228. config BR2_PACKAGE_QT5BASE_SYSLOG
  229. bool "syslog support"
  230. help
  231. Logs to the standard UNIX logging mechanism.
  232. config BR2_PACKAGE_QT5BASE_DBUS
  233. bool "DBus module"
  234. depends on BR2_TOOLCHAIN_HAS_THREADS
  235. depends on BR2_USE_MMU
  236. select BR2_PACKAGE_DBUS
  237. help
  238. This option enables the D-Bus module.
  239. config BR2_PACKAGE_QT5BASE_ICU
  240. bool "Enable ICU support"
  241. depends on !BR2_BINFMT_FLAT # icu
  242. depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
  243. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
  244. select BR2_PACKAGE_ICU
  245. help
  246. This option enables ICU support in Qt5. This is for example
  247. needed for Qt5Webkit.
  248. comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9"
  249. depends on !BR2_BINFMT_FLAT
  250. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  251. !BR2_HOST_GCC_AT_LEAST_4_9
  252. config BR2_PACKAGE_QT5BASE_TSLIB
  253. bool "Enable Tslib support"
  254. select BR2_PACKAGE_TSLIB
  255. help
  256. This options enables the Tslib plugin
  257. endif