Config.in 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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_USE_WCHAR # postgresql
  63. depends on BR2_ENABLE_LOCALE # postgresql
  64. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # postgresql
  65. depends on !BR2_STATIC_LIBS # postgresql
  66. depends on !BR2_OPTIMIZE_FAST # postgresql
  67. select BR2_PACKAGE_POSTGRESQL
  68. help
  69. Build PostgreSQL plugin
  70. If unsure, say n.
  71. comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library"
  72. depends on BR2_USE_MMU
  73. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  74. comment "PostgreSQL plugin can't be built with Optimize for fast"
  75. depends on BR2_OPTIMIZE_FAST
  76. choice
  77. prompt "SQLite 3 support"
  78. default BR2_PACKAGE_QT5BASE_SQLITE_NONE
  79. help
  80. Select SQLite support.
  81. config BR2_PACKAGE_QT5BASE_SQLITE_NONE
  82. bool "No sqlite support"
  83. help
  84. Do not compile any kind of SQLite support.
  85. config BR2_PACKAGE_QT5BASE_SQLITE_QT
  86. bool "Qt SQLite"
  87. help
  88. Use Qt bundled SQLite support.
  89. config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
  90. bool "System SQLite"
  91. select BR2_PACKAGE_SQLITE
  92. select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
  93. help
  94. Use system SQLite.
  95. endchoice
  96. endif
  97. config BR2_PACKAGE_QT5BASE_TEST
  98. def_bool y
  99. config BR2_PACKAGE_QT5BASE_XML
  100. def_bool y
  101. config BR2_PACKAGE_QT5BASE_GUI
  102. bool "gui module"
  103. select BR2_PACKAGE_FREETYPE
  104. # At least one graphic backend must be enabled, so enable
  105. # linuxfb if nothing is enabled.
  106. select BR2_PACKAGE_QT5BASE_LINUXFB if \
  107. !BR2_PACKAGE_QT5BASE_DIRECTFB && \
  108. !BR2_PACKAGE_QT5BASE_XCB && \
  109. !BR2_PACKAGE_QT5BASE_EGLFS
  110. help
  111. This option enables the Qt5Gui library.
  112. if BR2_PACKAGE_QT5BASE_GUI
  113. config BR2_PACKAGE_QT5BASE_WIDGETS
  114. bool "widgets module"
  115. select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
  116. help
  117. This option enables the Qt5Widgets library.
  118. comment "OpenGL support needs an OpenGL-capable backend"
  119. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
  120. config BR2_PACKAGE_QT5BASE_OPENGL
  121. bool "OpenGL support"
  122. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  123. help
  124. This option enables OpenGL support.
  125. if BR2_PACKAGE_QT5BASE_OPENGL
  126. choice
  127. prompt "OpenGL API"
  128. help
  129. Select OpenGL API.
  130. config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
  131. bool "Desktop OpenGL"
  132. depends on BR2_PACKAGE_HAS_LIBGL
  133. help
  134. Use desktop OpenGL.
  135. config BR2_PACKAGE_QT5BASE_OPENGL_ES2
  136. bool "OpenGL ES 2.0+"
  137. depends on BR2_PACKAGE_HAS_LIBGLES
  138. help
  139. Use OpenGL ES 2.0 and later versions.
  140. endchoice
  141. config BR2_PACKAGE_QT5BASE_OPENGL_LIB
  142. bool "opengl module"
  143. select BR2_PACKAGE_QT5BASE_WIDGETS
  144. help
  145. This option enables the Qt5OpenGL library. This library
  146. includes OpenGL support classes provided to ease porting
  147. from Qt 4.x.
  148. endif
  149. config BR2_PACKAGE_QT5BASE_VULKAN
  150. bool "Vulkan support"
  151. depends on BR2_INSTALL_LIBSTDCPP # vulkan-loader
  152. depends on !BR2_STATIC_LIBS # vulkan-loader
  153. depends on BR2_TOOLCHAIN_HAS_THREADS # vulkan-loader
  154. select BR2_PACKAGE_VULKAN_HEADERS
  155. select BR2_PACKAGE_VULKAN_LOADER
  156. help
  157. This option enables Vulkan support.
  158. config BR2_PACKAGE_QT5BASE_LINUXFB
  159. bool "linuxfb support"
  160. config BR2_PACKAGE_QT5BASE_DIRECTFB
  161. bool "directfb support"
  162. depends on BR2_PACKAGE_DIRECTFB
  163. comment "directfb backend available if directfb is enabled"
  164. depends on !BR2_PACKAGE_DIRECTFB
  165. config BR2_PACKAGE_QT5BASE_XCB
  166. bool "X.org XCB support"
  167. depends on BR2_PACKAGE_XORG7
  168. select BR2_PACKAGE_XLIB_LIBX11
  169. select BR2_PACKAGE_LIBXCB
  170. select BR2_PACKAGE_XCB_UTIL_IMAGE
  171. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  172. select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
  173. select BR2_PACKAGE_XCB_UTIL_WM
  174. select BR2_PACKAGE_LIBXKBCOMMON
  175. comment "X.org XCB backend available if X.org is enabled"
  176. depends on !BR2_PACKAGE_XORG7
  177. config BR2_PACKAGE_QT5BASE_EGLFS
  178. bool "eglfs support"
  179. depends on BR2_PACKAGE_HAS_LIBEGL
  180. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  181. select BR2_PACKAGE_QT5BASE_OPENGL
  182. comment "eglfs backend available if OpenGL and EGL are enabled"
  183. depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
  184. config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
  185. string "Default graphical platform"
  186. help
  187. Choose the default platform abstraction to use for graphical
  188. applications (e.g xcb, linuxfb, eglfs, ...). If this is
  189. empty, the default for your architecture will be used
  190. (usually this is eglfs).
  191. You can get a list of supported platforms by running a Qt
  192. application with the option "-platform help" on your
  193. target. You can choose a different platform at runtime with
  194. the -platform option.
  195. config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
  196. depends on BR2_PACKAGE_QT5BASE_WIDGETS
  197. def_bool y
  198. config BR2_PACKAGE_QT5BASE_FONTCONFIG
  199. bool "fontconfig support"
  200. select BR2_PACKAGE_FONTCONFIG
  201. help
  202. This option enables Fontconfig and Freetype support using
  203. the system fontconfig and freetype2 libraries.
  204. config BR2_PACKAGE_QT5BASE_HARFBUZZ
  205. bool "harfbuzz support"
  206. select BR2_PACKAGE_HARFBUZZ if \
  207. BR2_TOOLCHAIN_HAS_SYNC_4 && \
  208. BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  209. help
  210. This option enables HarfBuzz support (either system harfbuzz
  211. if the toolchain supports __sync for 4 bytes, or the qt
  212. provided one which avoids this dependency by using QAtomic).
  213. config BR2_PACKAGE_QT5BASE_GIF
  214. bool "GIF support"
  215. help
  216. This compiles and installs the plugin for GIF reading support.
  217. config BR2_PACKAGE_QT5BASE_JPEG
  218. bool "JPEG support"
  219. select BR2_PACKAGE_JPEG
  220. help
  221. This option enables JPEG support using the system libjpeg
  222. library.
  223. config BR2_PACKAGE_QT5BASE_PNG
  224. bool "PNG support"
  225. select BR2_PACKAGE_LIBPNG
  226. help
  227. This option enables PNG support using the system libpng
  228. library.
  229. endif
  230. config BR2_PACKAGE_QT5BASE_SYSLOG
  231. bool "syslog support"
  232. help
  233. Logs to the standard UNIX logging mechanism.
  234. config BR2_PACKAGE_QT5BASE_DBUS
  235. bool "DBus module"
  236. depends on BR2_TOOLCHAIN_HAS_THREADS
  237. depends on BR2_USE_MMU
  238. select BR2_PACKAGE_DBUS
  239. help
  240. This option enables the D-Bus module.
  241. config BR2_PACKAGE_QT5BASE_ICU
  242. bool "Enable ICU support"
  243. depends on !BR2_BINFMT_FLAT # icu
  244. depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
  245. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
  246. select BR2_PACKAGE_ICU
  247. help
  248. This option enables ICU support in Qt5. This is for example
  249. needed for Qt5Webkit.
  250. comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9"
  251. depends on !BR2_BINFMT_FLAT
  252. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  253. !BR2_HOST_GCC_AT_LEAST_4_9
  254. config BR2_PACKAGE_QT5BASE_TSLIB
  255. bool "Enable Tslib support"
  256. select BR2_PACKAGE_TSLIB
  257. help
  258. This options enables the Tslib plugin
  259. endif