Config.in 7.8 KB

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