Config.in 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. select BR2_PACKAGE_POSTGRESQL
  66. help
  67. Build PostgreSQL plugin
  68. If unsure, say n.
  69. comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
  70. depends on BR2_USE_MMU
  71. depends on BR2_STATIC_LIBS
  72. choice
  73. prompt "SQLite 3 support"
  74. default BR2_PACKAGE_QT5BASE_SQLITE_NONE
  75. help
  76. Select SQLite support.
  77. config BR2_PACKAGE_QT5BASE_SQLITE_NONE
  78. bool "No sqlite support"
  79. help
  80. Do not compile any kind of SQLite support.
  81. config BR2_PACKAGE_QT5BASE_SQLITE_QT
  82. bool "Qt SQLite"
  83. help
  84. Use Qt bundled SQLite support.
  85. config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
  86. bool "System SQLite"
  87. select BR2_PACKAGE_SQLITE
  88. select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
  89. help
  90. Use system SQLite.
  91. endchoice
  92. endif
  93. config BR2_PACKAGE_QT5BASE_TEST
  94. def_bool y
  95. config BR2_PACKAGE_QT5BASE_XML
  96. def_bool y
  97. config BR2_PACKAGE_QT5BASE_GUI
  98. bool "gui module"
  99. select BR2_PACKAGE_FREETYPE
  100. # At least one graphic backend must be enabled, so enable
  101. # linuxfb if nothing is enabled.
  102. select BR2_PACKAGE_QT5BASE_LINUXFB if \
  103. !BR2_PACKAGE_QT5BASE_DIRECTFB && \
  104. !BR2_PACKAGE_QT5BASE_XCB && \
  105. !BR2_PACKAGE_QT5BASE_EGLFS
  106. help
  107. This option enables the Qt5Gui library.
  108. if BR2_PACKAGE_QT5BASE_GUI
  109. config BR2_PACKAGE_QT5BASE_WIDGETS
  110. bool "widgets module"
  111. select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
  112. help
  113. This option enables the Qt5Widgets library.
  114. comment "OpenGL support needs an OpenGL-capable backend"
  115. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
  116. config BR2_PACKAGE_QT5BASE_OPENGL
  117. bool "OpenGL support"
  118. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  119. help
  120. This option enables OpenGL support.
  121. if BR2_PACKAGE_QT5BASE_OPENGL
  122. choice
  123. prompt "OpenGL API"
  124. help
  125. Select OpenGL API.
  126. config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
  127. bool "Desktop OpenGL"
  128. depends on BR2_PACKAGE_HAS_LIBGL
  129. help
  130. Use desktop OpenGL.
  131. config BR2_PACKAGE_QT5BASE_OPENGL_ES2
  132. bool "OpenGL ES 2.0+"
  133. depends on BR2_PACKAGE_HAS_LIBGLES
  134. help
  135. Use OpenGL ES 2.0 and later versions.
  136. endchoice
  137. config BR2_PACKAGE_QT5BASE_OPENGL_LIB
  138. bool "opengl module"
  139. select BR2_PACKAGE_QT5BASE_WIDGETS
  140. help
  141. This option enables the Qt5OpenGL library. This library
  142. includes OpenGL support classes provided to ease porting
  143. from Qt 4.x.
  144. endif
  145. config BR2_PACKAGE_QT5BASE_LINUXFB
  146. bool "linuxfb support"
  147. config BR2_PACKAGE_QT5BASE_DIRECTFB
  148. bool "directfb support"
  149. depends on BR2_PACKAGE_DIRECTFB
  150. comment "directfb backend available if directfb is enabled"
  151. depends on !BR2_PACKAGE_DIRECTFB
  152. config BR2_PACKAGE_QT5BASE_XCB
  153. bool "X.org XCB support"
  154. depends on BR2_PACKAGE_XORG7
  155. select BR2_PACKAGE_XLIB_LIBX11
  156. select BR2_PACKAGE_LIBXCB
  157. select BR2_PACKAGE_XCB_UTIL_IMAGE
  158. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  159. select BR2_PACKAGE_XCB_UTIL_WM
  160. select BR2_PACKAGE_LIBXKBCOMMON
  161. comment "X.org XCB backend available if X.org is enabled"
  162. depends on !BR2_PACKAGE_XORG7
  163. config BR2_PACKAGE_QT5BASE_EGLFS
  164. bool "eglfs support"
  165. depends on BR2_PACKAGE_HAS_LIBEGL
  166. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  167. select BR2_PACKAGE_QT5BASE_OPENGL
  168. comment "eglfs backend available if OpenGL and EGL are enabled"
  169. depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
  170. config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
  171. string "Default graphical platform"
  172. help
  173. Choose the default platform abstraction to use for graphical
  174. applications (e.g xcb, linuxfb, eglfs, ...). If this is
  175. empty, the default for your architecture will be used
  176. (usually this is eglfs).
  177. You can get a list of supported platforms by running a Qt
  178. application with the option "-platform help" on your
  179. target. You can choose a different platform at runtime with
  180. the -platform option.
  181. config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
  182. depends on BR2_PACKAGE_QT5BASE_WIDGETS
  183. def_bool y
  184. config BR2_PACKAGE_QT5BASE_FONTCONFIG
  185. bool "fontconfig support"
  186. select BR2_PACKAGE_FONTCONFIG
  187. help
  188. This option enables Fontconfig and Freetype support using
  189. the system fontconfig and freetype2 libraries.
  190. config BR2_PACKAGE_QT5BASE_HARFBUZZ
  191. bool "harfbuzz support"
  192. select BR2_PACKAGE_HARFBUZZ if BR2_TOOLCHAIN_HAS_SYNC_4
  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_HOST_GCC_AT_LEAST_4_8 # icu
  224. depends on !BR2_BINFMT_FLAT # icu
  225. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
  226. select BR2_PACKAGE_ICU
  227. help
  228. This option enables ICU support in Qt5. This is for example
  229. needed for Qt5Webkit.
  230. comment "icu support needs a toolchain w/ gcc >= 4.8, host gcc >= 4.8"
  231. depends on !BR2_BINFMT_FLAT
  232. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
  233. !BR2_HOST_GCC_AT_LEAST_4_8
  234. config BR2_PACKAGE_QT5BASE_TSLIB
  235. bool "Enable Tslib support"
  236. select BR2_PACKAGE_TSLIB
  237. help
  238. This options enables the Tslib plugin
  239. endif