Config.in 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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. help
  89. Use system SQLite.
  90. endchoice
  91. endif
  92. config BR2_PACKAGE_QT5BASE_TEST
  93. def_bool y
  94. config BR2_PACKAGE_QT5BASE_XML
  95. def_bool y
  96. config BR2_PACKAGE_QT5BASE_GUI
  97. bool "gui module"
  98. select BR2_PACKAGE_FREETYPE
  99. # At least one graphic backend must be enabled, so enable
  100. # linuxfb if nothing is enabled.
  101. select BR2_PACKAGE_QT5BASE_LINUXFB if \
  102. !BR2_PACKAGE_QT5BASE_DIRECTFB && \
  103. !BR2_PACKAGE_QT5BASE_XCB && \
  104. !BR2_PACKAGE_QT5BASE_EGLFS
  105. help
  106. This option enables the Qt5Gui library.
  107. if BR2_PACKAGE_QT5BASE_GUI
  108. config BR2_PACKAGE_QT5BASE_WIDGETS
  109. bool "widgets module"
  110. select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
  111. help
  112. This option enables the Qt5Widgets library.
  113. comment "OpenGL support needs an OpenGL-capable backend"
  114. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
  115. config BR2_PACKAGE_QT5BASE_OPENGL
  116. bool "OpenGL support"
  117. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  118. help
  119. This option enables OpenGL support.
  120. if BR2_PACKAGE_QT5BASE_OPENGL
  121. choice
  122. prompt "OpenGL API"
  123. help
  124. Select OpenGL API.
  125. config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
  126. bool "Desktop OpenGL"
  127. depends on BR2_PACKAGE_HAS_LIBGL
  128. help
  129. Use desktop OpenGL.
  130. config BR2_PACKAGE_QT5BASE_OPENGL_ES2
  131. bool "OpenGL ES 2.0+"
  132. depends on BR2_PACKAGE_HAS_LIBGLES
  133. help
  134. Use OpenGL ES 2.0 and later versions.
  135. endchoice
  136. config BR2_PACKAGE_QT5BASE_OPENGL_LIB
  137. bool "opengl module"
  138. select BR2_PACKAGE_QT5BASE_WIDGETS
  139. help
  140. This option enables the Qt5OpenGL library. This library
  141. includes OpenGL support classes provided to ease porting
  142. from Qt 4.x.
  143. endif
  144. config BR2_PACKAGE_QT5BASE_LINUXFB
  145. bool "linuxfb support"
  146. config BR2_PACKAGE_QT5BASE_DIRECTFB
  147. bool "directfb support"
  148. depends on BR2_PACKAGE_DIRECTFB
  149. comment "directfb backend available if directfb is enabled"
  150. depends on !BR2_PACKAGE_DIRECTFB
  151. config BR2_PACKAGE_QT5BASE_XCB
  152. bool "X.org XCB support"
  153. depends on BR2_PACKAGE_XORG7
  154. select BR2_PACKAGE_XLIB_LIBX11
  155. select BR2_PACKAGE_LIBXCB
  156. select BR2_PACKAGE_XCB_UTIL_IMAGE
  157. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  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 BR2_TOOLCHAIN_HAS_SYNC_4
  192. help
  193. This option enables HarfBuzz support (either system harfbuzz
  194. if the toolchain supports __sync for 4 bytes, or the qt
  195. provided one which avoids this dependency by using QAtomic).
  196. config BR2_PACKAGE_QT5BASE_GIF
  197. bool "GIF support"
  198. help
  199. This compiles and installs the plugin for GIF reading support.
  200. config BR2_PACKAGE_QT5BASE_JPEG
  201. bool "JPEG support"
  202. select BR2_PACKAGE_JPEG
  203. help
  204. This option enables JPEG support using the system libjpeg
  205. library.
  206. config BR2_PACKAGE_QT5BASE_PNG
  207. bool "PNG support"
  208. select BR2_PACKAGE_LIBPNG
  209. help
  210. This option enables PNG support using the system libpng
  211. library.
  212. endif
  213. config BR2_PACKAGE_QT5BASE_DBUS
  214. bool "DBus module"
  215. depends on BR2_TOOLCHAIN_HAS_THREADS
  216. depends on BR2_USE_MMU
  217. select BR2_PACKAGE_DBUS
  218. help
  219. This option enables the D-Bus module.
  220. config BR2_PACKAGE_QT5BASE_ICU
  221. bool "Enable ICU support"
  222. depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
  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, host gcc >= 4.8"
  230. depends on !BR2_BINFMT_FLAT
  231. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
  232. !BR2_HOST_GCC_AT_LEAST_4_8
  233. config BR2_PACKAGE_QT5BASE_TSLIB
  234. bool "Enable Tslib support"
  235. select BR2_PACKAGE_TSLIB
  236. help
  237. This options enables the Tslib plugin
  238. endif