Config.in 6.3 KB

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