Config.in 7.1 KB

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