Config.in 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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_LICENSE_APPROVED
  25. bool "Approve free license"
  26. help
  27. Select this if you approve one of the available free licenses for the
  28. Qt5 library.
  29. By doing this you will not be asked while the library is compiled.
  30. Please read and understand the license terms before approving this.
  31. LGPL: http://doc.qt.io/qt-5/lgpl.html
  32. See also http://doc.qt.io/qt-5/licensing.html
  33. config BR2_PACKAGE_QT5BASE_CONFIG_FILE
  34. string "Config file"
  35. help
  36. Configure options allow to set which modules are being
  37. compiled or not in Qt, but Qt also provide a more
  38. fine-grained mechanism to configure which features should be
  39. enabled or disabled, through a header file. Examples of such
  40. header files can be found in src/corelib/global/qconfig-*.h
  41. in the Qt sources.
  42. This option allows to set the path of such a configuration
  43. file, which Buildroot will give to Qt at compile time.
  44. config BR2_PACKAGE_QT5BASE_EXAMPLES
  45. bool "Compile and install examples (with code)"
  46. select BR2_PACKAGE_QT5BASE_NETWORK
  47. select BR2_PACKAGE_QT5BASE_XML
  48. help
  49. If unsure, say N.
  50. config BR2_PACKAGE_QT5BASE_NETWORK
  51. def_bool y
  52. config BR2_PACKAGE_QT5BASE_CONCURRENT
  53. bool "concurrent module"
  54. help
  55. This options enables the Qt5Concurrent library.
  56. config BR2_PACKAGE_QT5BASE_SQL
  57. def_bool y
  58. if BR2_PACKAGE_QT5BASE_SQL
  59. config BR2_PACKAGE_QT5BASE_MYSQL
  60. bool "MySQL Plugin"
  61. select BR2_PACKAGE_MYSQL
  62. select BR2_PACKAGE_NCURSES
  63. select BR2_PACKAGE_READLINE
  64. depends on BR2_USE_MMU # mysql
  65. help
  66. Build MySQL plugin
  67. If unsure, say n.
  68. config BR2_PACKAGE_QT5BASE_PSQL
  69. bool "PostgreSQL Plugin"
  70. select BR2_PACKAGE_POSTGRESQL
  71. depends on BR2_USE_MMU # postgresql
  72. depends on !BR2_STATIC_LIBS
  73. help
  74. Build PostgreSQL plugin
  75. If unsure, say n.
  76. comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
  77. depends on BR2_USE_MMU
  78. depends on BR2_STATIC_LIBS
  79. choice
  80. prompt "SQLite 3 support"
  81. default BR2_PACKAGE_QT5BASE_SQLITE_NONE
  82. help
  83. Select SQLite support.
  84. config BR2_PACKAGE_QT5BASE_SQLITE_NONE
  85. bool "No sqlite support"
  86. help
  87. Do not compile any kind of SQLite support.
  88. config BR2_PACKAGE_QT5BASE_SQLITE_QT
  89. bool "Qt SQLite"
  90. help
  91. Use Qt bundled SQLite support.
  92. config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
  93. bool "System SQLite"
  94. select BR2_PACKAGE_SQLITE
  95. help
  96. Use system SQLite.
  97. endchoice
  98. endif
  99. config BR2_PACKAGE_QT5BASE_TEST
  100. def_bool y
  101. config BR2_PACKAGE_QT5BASE_XML
  102. def_bool y
  103. config BR2_PACKAGE_QT5BASE_GUI
  104. bool "gui module"
  105. # At least one graphic backend must be enabled, so enable
  106. # linuxfb if nothing is enabled.
  107. select BR2_PACKAGE_QT5BASE_LINUXFB if \
  108. !BR2_PACKAGE_QT5BASE_DIRECTFB && \
  109. !BR2_PACKAGE_QT5BASE_XCB && \
  110. !BR2_PACKAGE_QT5BASE_EGLFS
  111. help
  112. This option enables the Qt5Gui library.
  113. if BR2_PACKAGE_QT5BASE_GUI
  114. config BR2_PACKAGE_QT5BASE_WIDGETS
  115. bool "widgets module"
  116. select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
  117. help
  118. This option enables the Qt5Widgets library.
  119. comment "OpenGL support needs an OpenGL-capable backend"
  120. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
  121. config BR2_PACKAGE_QT5BASE_OPENGL
  122. bool "OpenGL support"
  123. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  124. help
  125. This option enables OpenGL support.
  126. if BR2_PACKAGE_QT5BASE_OPENGL
  127. choice
  128. prompt "OpenGL API"
  129. help
  130. Select OpenGL API.
  131. config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
  132. bool "Desktop OpenGL"
  133. depends on BR2_PACKAGE_HAS_LIBGL
  134. help
  135. Use desktop OpenGL.
  136. config BR2_PACKAGE_QT5BASE_OPENGL_ES2
  137. bool "OpenGL ES 2.0+"
  138. depends on BR2_PACKAGE_HAS_LIBGLES
  139. help
  140. Use OpenGL ES 2.0 and later versions.
  141. endchoice
  142. config BR2_PACKAGE_QT5BASE_OPENGL_LIB
  143. bool "opengl module"
  144. select BR2_PACKAGE_QT5BASE_WIDGETS
  145. help
  146. This option enables the Qt5OpenGL library. This library includes
  147. OpenGL support classes provided to ease porting from Qt 4.x.
  148. endif
  149. config BR2_PACKAGE_QT5BASE_LINUXFB
  150. bool "linuxfb support"
  151. config BR2_PACKAGE_QT5BASE_DIRECTFB
  152. bool "directfb support"
  153. depends on BR2_PACKAGE_DIRECTFB
  154. comment "directfb backend available if directfb is enabled"
  155. depends on !BR2_PACKAGE_DIRECTFB
  156. config BR2_PACKAGE_QT5BASE_XCB
  157. bool "X.org XCB support"
  158. depends on BR2_PACKAGE_XORG7
  159. select BR2_PACKAGE_XLIB_LIBX11
  160. select BR2_PACKAGE_LIBXCB
  161. select BR2_PACKAGE_XCB_UTIL_IMAGE
  162. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  163. select BR2_PACKAGE_XCB_UTIL_WM
  164. select BR2_PACKAGE_LIBXKBCOMMON
  165. comment "X.org XCB backend available if X.org is enabled"
  166. depends on !BR2_PACKAGE_XORG7
  167. config BR2_PACKAGE_QT5BASE_EGLFS
  168. bool "eglfs support"
  169. select BR2_PACKAGE_QT5BASE_OPENGL
  170. depends on BR2_PACKAGE_HAS_LIBEGL
  171. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  172. comment "eglfs backend available if OpenGL and EGL are enabled"
  173. depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
  174. config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
  175. string "Default graphical platform"
  176. help
  177. Choose the default platform abstraction to use for graphical
  178. applications (e.g xcb, linuxfb, eglfs, ...). If this is empty, the
  179. default for your architecture will be used (usually this is eglfs).
  180. You can get a list of supported platforms by running a Qt application
  181. with the option "-platform help" on your target. You can choose a
  182. different platform at runtime with the -platform option.
  183. config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
  184. depends on BR2_PACKAGE_QT5BASE_WIDGETS
  185. def_bool y
  186. config BR2_PACKAGE_QT5BASE_FONTCONFIG
  187. bool "fontconfig support"
  188. select BR2_PACKAGE_FONTCONFIG
  189. help
  190. This option enables Fontconfig and Freetype support using
  191. the system fontconfig and freetype2 libraries.
  192. config BR2_PACKAGE_QT5BASE_GIF
  193. bool "GIF support"
  194. help
  195. This compiles and installs the plugin for GIF reading support.
  196. config BR2_PACKAGE_QT5BASE_JPEG
  197. bool "JPEG support"
  198. select BR2_PACKAGE_JPEG
  199. help
  200. This option enables JPEG support using the system libjpeg
  201. library.
  202. config BR2_PACKAGE_QT5BASE_PNG
  203. bool "PNG support"
  204. select BR2_PACKAGE_LIBPNG
  205. help
  206. This option enables PNG support using the system libpng
  207. library.
  208. endif
  209. config BR2_PACKAGE_QT5BASE_DBUS
  210. bool "DBus module"
  211. select BR2_PACKAGE_DBUS
  212. depends on BR2_TOOLCHAIN_HAS_THREADS
  213. depends on BR2_USE_MMU
  214. help
  215. This option enables the D-Bus module.
  216. config BR2_PACKAGE_QT5BASE_ICU
  217. bool "Enable ICU support"
  218. select BR2_PACKAGE_ICU
  219. depends on !BR2_BINFMT_FLAT # icu
  220. help
  221. This option enables ICU support in Qt5. This is for example
  222. needed for Qt5Webkit.
  223. config BR2_PACKAGE_QT5BASE_TSLIB
  224. bool "Enable Tslib support"
  225. depends on !BR2_STATIC_LIBS # dlopen
  226. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib
  227. select BR2_PACKAGE_TSLIB
  228. help
  229. This options enables the Tslib plugin
  230. comment "tslib support needs a toolchain w/ dynamic library, headers >= 3.12"
  231. depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  232. endif