Config.in 7.4 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. select BR2_PACKAGE_FREETYPE
  106. # At least one graphic backend must be enabled, so enable
  107. # linuxfb if nothing is enabled.
  108. select BR2_PACKAGE_QT5BASE_LINUXFB if \
  109. !BR2_PACKAGE_QT5BASE_DIRECTFB && \
  110. !BR2_PACKAGE_QT5BASE_XCB && \
  111. !BR2_PACKAGE_QT5BASE_EGLFS
  112. help
  113. This option enables the Qt5Gui library.
  114. if BR2_PACKAGE_QT5BASE_GUI
  115. config BR2_PACKAGE_QT5BASE_WIDGETS
  116. bool "widgets module"
  117. select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
  118. help
  119. This option enables the Qt5Widgets library.
  120. comment "OpenGL support needs an OpenGL-capable backend"
  121. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
  122. config BR2_PACKAGE_QT5BASE_OPENGL
  123. bool "OpenGL support"
  124. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  125. help
  126. This option enables OpenGL support.
  127. if BR2_PACKAGE_QT5BASE_OPENGL
  128. choice
  129. prompt "OpenGL API"
  130. help
  131. Select OpenGL API.
  132. config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
  133. bool "Desktop OpenGL"
  134. depends on BR2_PACKAGE_HAS_LIBGL
  135. help
  136. Use desktop OpenGL.
  137. config BR2_PACKAGE_QT5BASE_OPENGL_ES2
  138. bool "OpenGL ES 2.0+"
  139. depends on BR2_PACKAGE_HAS_LIBGLES
  140. help
  141. Use OpenGL ES 2.0 and later versions.
  142. endchoice
  143. config BR2_PACKAGE_QT5BASE_OPENGL_LIB
  144. bool "opengl module"
  145. select BR2_PACKAGE_QT5BASE_WIDGETS
  146. help
  147. This option enables the Qt5OpenGL library. This library includes
  148. OpenGL support classes provided to ease porting from Qt 4.x.
  149. endif
  150. config BR2_PACKAGE_QT5BASE_LINUXFB
  151. bool "linuxfb support"
  152. config BR2_PACKAGE_QT5BASE_DIRECTFB
  153. bool "directfb support"
  154. depends on BR2_PACKAGE_DIRECTFB
  155. comment "directfb backend available if directfb is enabled"
  156. depends on !BR2_PACKAGE_DIRECTFB
  157. config BR2_PACKAGE_QT5BASE_XCB
  158. bool "X.org XCB support"
  159. depends on BR2_PACKAGE_XORG7
  160. select BR2_PACKAGE_XLIB_LIBX11
  161. select BR2_PACKAGE_LIBXCB
  162. select BR2_PACKAGE_XCB_UTIL_IMAGE
  163. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  164. select BR2_PACKAGE_XCB_UTIL_WM
  165. select BR2_PACKAGE_LIBXKBCOMMON
  166. comment "X.org XCB backend available if X.org is enabled"
  167. depends on !BR2_PACKAGE_XORG7
  168. config BR2_PACKAGE_QT5BASE_EGLFS
  169. bool "eglfs support"
  170. select BR2_PACKAGE_QT5BASE_OPENGL
  171. depends on BR2_PACKAGE_HAS_LIBEGL
  172. depends on BR2_PACKAGE_QT5_GL_AVAILABLE
  173. comment "eglfs backend available if OpenGL and EGL are enabled"
  174. depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
  175. config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
  176. string "Default graphical platform"
  177. help
  178. Choose the default platform abstraction to use for graphical
  179. applications (e.g xcb, linuxfb, eglfs, ...). If this is empty, the
  180. default for your architecture will be used (usually this is eglfs).
  181. You can get a list of supported platforms by running a Qt application
  182. with the option "-platform help" on your target. You can choose a
  183. different platform at runtime with the -platform option.
  184. config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
  185. depends on BR2_PACKAGE_QT5BASE_WIDGETS
  186. def_bool y
  187. config BR2_PACKAGE_QT5BASE_FONTCONFIG
  188. bool "fontconfig support"
  189. select BR2_PACKAGE_FONTCONFIG
  190. help
  191. This option enables Fontconfig and Freetype support using
  192. the system fontconfig and freetype2 libraries.
  193. config BR2_PACKAGE_QT5BASE_GIF
  194. bool "GIF support"
  195. help
  196. This compiles and installs the plugin for GIF reading support.
  197. config BR2_PACKAGE_QT5BASE_JPEG
  198. bool "JPEG support"
  199. select BR2_PACKAGE_JPEG
  200. help
  201. This option enables JPEG support using the system libjpeg
  202. library.
  203. config BR2_PACKAGE_QT5BASE_PNG
  204. bool "PNG support"
  205. select BR2_PACKAGE_LIBPNG
  206. help
  207. This option enables PNG support using the system libpng
  208. library.
  209. endif
  210. config BR2_PACKAGE_QT5BASE_DBUS
  211. bool "DBus module"
  212. select BR2_PACKAGE_DBUS
  213. depends on BR2_TOOLCHAIN_HAS_THREADS
  214. depends on BR2_USE_MMU
  215. help
  216. This option enables the D-Bus module.
  217. config BR2_PACKAGE_QT5BASE_ICU
  218. bool "Enable ICU support"
  219. select BR2_PACKAGE_ICU
  220. depends on !BR2_BINFMT_FLAT # icu
  221. help
  222. This option enables ICU support in Qt5. This is for example
  223. needed for Qt5Webkit.
  224. config BR2_PACKAGE_QT5BASE_TSLIB
  225. bool "Enable Tslib support"
  226. depends on !BR2_STATIC_LIBS # dlopen
  227. select BR2_PACKAGE_TSLIB
  228. help
  229. This options enables the Tslib plugin
  230. comment "tslib support needs a toolchain w/ dynamic library"
  231. depends on BR2_STATIC_LIBS
  232. endif