Config.in 6.5 KB

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