Config.in 7.6 KB

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