Config.in 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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_WM
  158. select BR2_PACKAGE_LIBXKBCOMMON
  159. comment "X.org XCB backend available if X.org is enabled"
  160. depends on !BR2_PACKAGE_XORG7
  161. config BR2_PACKAGE_QT5BASE_EGLFS
  162. bool "eglfs support"
  163. depends on BR2_PACKAGE_HAS_LIBEGL
  164. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  165. select BR2_PACKAGE_QT5BASE_OPENGL
  166. comment "eglfs backend available if OpenGL and EGL are enabled"
  167. depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
  168. config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
  169. string "Default graphical platform"
  170. help
  171. Choose the default platform abstraction to use for graphical
  172. applications (e.g xcb, linuxfb, eglfs, ...). If this is
  173. empty, the default for your architecture will be used
  174. (usually this is eglfs).
  175. You can get a list of supported platforms by running a Qt
  176. application with the option "-platform help" on your
  177. target. You can choose a different platform at runtime with
  178. the -platform option.
  179. config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
  180. depends on BR2_PACKAGE_QT5BASE_WIDGETS
  181. def_bool y
  182. config BR2_PACKAGE_QT5BASE_FONTCONFIG
  183. bool "fontconfig support"
  184. select BR2_PACKAGE_FONTCONFIG
  185. help
  186. This option enables Fontconfig and Freetype support using
  187. the system fontconfig and freetype2 libraries.
  188. config BR2_PACKAGE_QT5BASE_HARFBUZZ
  189. bool "harfbuzz support"
  190. select BR2_PACKAGE_HARFBUZZ if \
  191. BR2_TOOLCHAIN_HAS_SYNC_4 && \
  192. BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  193. help
  194. This option enables HarfBuzz support (either system harfbuzz
  195. if the toolchain supports __sync for 4 bytes, or the qt
  196. provided one which avoids this dependency by using QAtomic).
  197. config BR2_PACKAGE_QT5BASE_GIF
  198. bool "GIF support"
  199. help
  200. This compiles and installs the plugin for GIF reading support.
  201. config BR2_PACKAGE_QT5BASE_JPEG
  202. bool "JPEG support"
  203. select BR2_PACKAGE_JPEG
  204. help
  205. This option enables JPEG support using the system libjpeg
  206. library.
  207. config BR2_PACKAGE_QT5BASE_PNG
  208. bool "PNG support"
  209. select BR2_PACKAGE_LIBPNG
  210. help
  211. This option enables PNG support using the system libpng
  212. library.
  213. endif
  214. config BR2_PACKAGE_QT5BASE_DBUS
  215. bool "DBus module"
  216. depends on BR2_TOOLCHAIN_HAS_THREADS
  217. depends on BR2_USE_MMU
  218. select BR2_PACKAGE_DBUS
  219. help
  220. This option enables the D-Bus module.
  221. config BR2_PACKAGE_QT5BASE_ICU
  222. bool "Enable ICU support"
  223. depends on !BR2_BINFMT_FLAT # icu
  224. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
  225. select BR2_PACKAGE_ICU
  226. help
  227. This option enables ICU support in Qt5. This is for example
  228. needed for Qt5Webkit.
  229. comment "icu support needs a toolchain w/ gcc >= 4.8"
  230. depends on !BR2_BINFMT_FLAT
  231. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  232. config BR2_PACKAGE_QT5BASE_TSLIB
  233. bool "Enable Tslib support"
  234. select BR2_PACKAGE_TSLIB
  235. help
  236. This options enables the Tslib plugin
  237. endif