Config.in 6.2 KB

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