Config.in 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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_XCB && \
  108. !BR2_PACKAGE_QT5BASE_EGLFS
  109. help
  110. This option enables the Qt5Gui library.
  111. if BR2_PACKAGE_QT5BASE_GUI
  112. config BR2_PACKAGE_QT5BASE_WIDGETS
  113. bool "widgets module"
  114. select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
  115. help
  116. This option enables the Qt5Widgets library.
  117. comment "OpenGL support needs an OpenGL-capable backend"
  118. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
  119. config BR2_PACKAGE_QT5BASE_OPENGL
  120. bool "OpenGL support"
  121. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  122. help
  123. This option enables OpenGL support.
  124. if BR2_PACKAGE_QT5BASE_OPENGL
  125. choice
  126. prompt "OpenGL API"
  127. help
  128. Select OpenGL API.
  129. config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
  130. bool "Desktop OpenGL"
  131. depends on BR2_PACKAGE_HAS_LIBGL
  132. help
  133. Use desktop OpenGL.
  134. config BR2_PACKAGE_QT5BASE_OPENGL_ES2
  135. bool "OpenGL ES 2.0+"
  136. depends on BR2_PACKAGE_HAS_LIBGLES
  137. help
  138. Use OpenGL ES 2.0 and later versions.
  139. endchoice
  140. config BR2_PACKAGE_QT5BASE_OPENGL_LIB
  141. bool "opengl module"
  142. select BR2_PACKAGE_QT5BASE_WIDGETS
  143. help
  144. This option enables the Qt5OpenGL library. This library
  145. includes OpenGL support classes provided to ease porting
  146. from Qt 4.x.
  147. endif
  148. config BR2_PACKAGE_QT5BASE_VULKAN
  149. bool "Vulkan support"
  150. depends on BR2_INSTALL_LIBSTDCPP # vulkan-loader
  151. depends on !BR2_STATIC_LIBS # vulkan-loader
  152. depends on BR2_TOOLCHAIN_HAS_THREADS # vulkan-loader
  153. select BR2_PACKAGE_VULKAN_HEADERS
  154. select BR2_PACKAGE_VULKAN_LOADER
  155. help
  156. This option enables Vulkan support.
  157. config BR2_PACKAGE_QT5BASE_LINUXFB
  158. bool "linuxfb support"
  159. config BR2_PACKAGE_QT5BASE_XCB
  160. bool "X.org XCB support"
  161. depends on BR2_PACKAGE_XORG7
  162. select BR2_PACKAGE_XLIB_LIBX11
  163. select BR2_PACKAGE_LIBXCB
  164. select BR2_PACKAGE_XCB_UTIL_IMAGE
  165. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  166. select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
  167. select BR2_PACKAGE_XCB_UTIL_WM
  168. select BR2_PACKAGE_LIBXKBCOMMON
  169. comment "X.org XCB backend available if X.org is enabled"
  170. depends on !BR2_PACKAGE_XORG7
  171. config BR2_PACKAGE_QT5BASE_EGLFS
  172. bool "eglfs support"
  173. depends on BR2_PACKAGE_HAS_LIBEGL
  174. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  175. select BR2_PACKAGE_QT5BASE_OPENGL
  176. comment "eglfs backend available if OpenGL and EGL are enabled"
  177. depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
  178. config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
  179. string "Default graphical platform"
  180. help
  181. Choose the default platform abstraction to use for graphical
  182. applications (e.g xcb, linuxfb, eglfs, ...). If this is
  183. empty, the default for your architecture will be used
  184. (usually this is eglfs).
  185. You can get a list of supported platforms by running a Qt
  186. application with the option "-platform help" on your
  187. target. You can choose a different platform at runtime with
  188. the -platform option.
  189. config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
  190. depends on BR2_PACKAGE_QT5BASE_WIDGETS
  191. def_bool y
  192. config BR2_PACKAGE_QT5BASE_FONTCONFIG
  193. bool "fontconfig support"
  194. select BR2_PACKAGE_FONTCONFIG
  195. help
  196. This option enables Fontconfig and Freetype support using
  197. the system fontconfig and freetype2 libraries.
  198. config BR2_PACKAGE_QT5BASE_HARFBUZZ
  199. bool "harfbuzz support"
  200. select BR2_PACKAGE_HARFBUZZ if \
  201. BR2_TOOLCHAIN_HAS_SYNC_4 && \
  202. BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  203. help
  204. This option enables HarfBuzz support (either system harfbuzz
  205. if the toolchain supports __sync for 4 bytes, or the qt
  206. provided one which avoids this dependency by using QAtomic).
  207. config BR2_PACKAGE_QT5BASE_GIF
  208. bool "GIF support"
  209. help
  210. This compiles and installs the plugin for GIF reading support.
  211. config BR2_PACKAGE_QT5BASE_JPEG
  212. bool "JPEG support"
  213. select BR2_PACKAGE_JPEG
  214. help
  215. This option enables JPEG support using the system libjpeg
  216. library.
  217. config BR2_PACKAGE_QT5BASE_PNG
  218. bool "PNG support"
  219. select BR2_PACKAGE_LIBPNG
  220. help
  221. This option enables PNG support using the system libpng
  222. library.
  223. endif
  224. config BR2_PACKAGE_QT5BASE_SYSLOG
  225. bool "syslog support"
  226. help
  227. Logs to the standard UNIX logging mechanism.
  228. config BR2_PACKAGE_QT5BASE_DBUS
  229. bool "DBus module"
  230. depends on BR2_TOOLCHAIN_HAS_THREADS
  231. depends on BR2_USE_MMU
  232. select BR2_PACKAGE_DBUS
  233. help
  234. This option enables the D-Bus module.
  235. config BR2_PACKAGE_QT5BASE_ICU
  236. bool "Enable ICU support"
  237. depends on !BR2_BINFMT_FLAT # icu
  238. depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
  239. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
  240. select BR2_PACKAGE_ICU
  241. help
  242. This option enables ICU support in Qt5. This is for example
  243. needed for Qt5Webkit.
  244. comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9"
  245. depends on !BR2_BINFMT_FLAT
  246. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  247. !BR2_HOST_GCC_AT_LEAST_4_9
  248. config BR2_PACKAGE_QT5BASE_TSLIB
  249. bool "Enable Tslib support"
  250. select BR2_PACKAGE_TSLIB
  251. help
  252. This options enables the Tslib plugin
  253. endif