Config.in 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. config BR2_PACKAGE_QT6BASE
  2. bool "qt6base"
  3. select BR2_PACKAGE_DOUBLE_CONVERSION
  4. select BR2_PACKAGE_LIBB2
  5. select BR2_PACKAGE_PCRE2
  6. select BR2_PACKAGE_PCRE2_16
  7. select BR2_PACKAGE_ZLIB
  8. help
  9. Qt is a cross-platform application and UI framework for
  10. developers using C++.
  11. This package corresponds to the qt6base module, which
  12. contains the base Qt libraries: QtCore, QtNetwork, QtGui,
  13. QtWidgets, etc.
  14. http://qt.io
  15. if BR2_PACKAGE_QT6BASE
  16. config BR2_PACKAGE_QT6BASE_CONCURRENT
  17. bool "concurrent module"
  18. help
  19. This options enables the Qt6Concurrent library.
  20. config BR2_PACKAGE_QT6BASE_DBUS
  21. bool "DBus module"
  22. depends on BR2_TOOLCHAIN_HAS_THREADS
  23. depends on BR2_USE_MMU
  24. select BR2_PACKAGE_DBUS
  25. help
  26. This option enables the D-Bus module.
  27. config BR2_PACKAGE_QT6BASE_GUI
  28. bool "gui module"
  29. select BR2_PACKAGE_FREETYPE
  30. # At least one graphic backend must be enabled, so enable
  31. # linuxfb if nothing is enabled.
  32. select BR2_PACKAGE_QT6BASE_LINUXFB if \
  33. !BR2_PACKAGE_QT6BASE_XCB && \
  34. !BR2_PACKAGE_QT6BASE_EGLFS
  35. help
  36. This option enables the Qt6Gui library.
  37. if BR2_PACKAGE_QT6BASE_GUI
  38. config BR2_PACKAGE_QT6BASE_VULKAN
  39. bool "Vulkan support"
  40. depends on BR2_INSTALL_LIBSTDCPP # vulkan-loader
  41. depends on !BR2_STATIC_LIBS # vulkan-loader
  42. depends on BR2_TOOLCHAIN_HAS_THREADS # vulkan-loader
  43. select BR2_PACKAGE_VULKAN_HEADERS
  44. select BR2_PACKAGE_VULKAN_LOADER
  45. help
  46. This option enables Vulkan support.
  47. config BR2_PACKAGE_QT6BASE_LINUXFB
  48. bool "linuxfb support"
  49. config BR2_PACKAGE_QT6BASE_XCB
  50. bool "X.org XCB support"
  51. depends on BR2_PACKAGE_XORG7
  52. select BR2_PACKAGE_XLIB_LIBX11
  53. select BR2_PACKAGE_LIBXCB
  54. select BR2_PACKAGE_XCB_UTIL_IMAGE
  55. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  56. select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
  57. select BR2_PACKAGE_XCB_UTIL_WM
  58. select BR2_PACKAGE_LIBXKBCOMMON
  59. comment "X.org XCB backend available if X.org is enabled"
  60. depends on !BR2_PACKAGE_XORG7
  61. config BR2_PACKAGE_QT6BASE_EGLFS
  62. bool "eglfs support"
  63. depends on BR2_PACKAGE_HAS_LIBEGL
  64. depends on BR2_PACKAGE_HAS_LIBGBM
  65. depends on BR2_PACKAGE_QT6_GL_SUPPORTS
  66. select BR2_PACKAGE_QT6BASE_OPENGL
  67. config BR2_PACKAGE_QT6BASE_DEFAULT_QPA
  68. string "Default graphical platform"
  69. help
  70. Choose the default platform abstraction to use for graphical
  71. applications (e.g xcb, linuxfb, eglfs, ...). If this is
  72. empty, the default for your architecture will be used
  73. (usually this is eglfs).
  74. You can get a list of supported platforms by running a Qt
  75. application with the option "-platform help" on your
  76. target. You can choose a different platform at runtime with
  77. the -platform option.
  78. config BR2_PACKAGE_QT6BASE_OPENGL
  79. bool "OpenGL support"
  80. depends on BR2_PACKAGE_QT6_GL_SUPPORTS
  81. help
  82. This option enables OpenGL support.
  83. comment "OpenGL support needs an OpenGL-capable backend"
  84. depends on !BR2_PACKAGE_QT6_GL_SUPPORTS
  85. if BR2_PACKAGE_QT6BASE_OPENGL
  86. choice
  87. prompt "OpenGL API"
  88. help
  89. Select OpenGL API.
  90. config BR2_PACKAGE_QT6BASE_OPENGL_DESKTOP
  91. bool "Desktop OpenGL"
  92. depends on BR2_PACKAGE_HAS_LIBGL
  93. help
  94. Use desktop OpenGL.
  95. config BR2_PACKAGE_QT6BASE_OPENGL_ES2
  96. bool "OpenGL ES 2.0+"
  97. depends on BR2_PACKAGE_HAS_LIBGLES
  98. help
  99. Use OpenGL ES 2.0 and later versions.
  100. endchoice
  101. endif
  102. config BR2_PACKAGE_QT6BASE_FONTCONFIG
  103. bool "fontconfig support"
  104. select BR2_PACKAGE_FONTCONFIG
  105. help
  106. This option enables Fontconfig support using the system
  107. fontconfig library.
  108. config BR2_PACKAGE_QT6BASE_HARFBUZZ
  109. bool "harfbuzz support"
  110. select BR2_PACKAGE_HARFBUZZ if \
  111. BR2_TOOLCHAIN_HAS_SYNC_4 && \
  112. BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  113. help
  114. This option enables HarfBuzz support (either system harfbuzz
  115. if the toolchain supports __sync for 4 bytes, or the qt
  116. provided one which avoids this dependency by using QAtomic).
  117. config BR2_PACKAGE_QT6BASE_GIF
  118. bool "GIF support"
  119. help
  120. This compiles and installs the plugin for GIF reading support.
  121. config BR2_PACKAGE_QT6BASE_JPEG
  122. bool "JPEG support"
  123. select BR2_PACKAGE_JPEG
  124. help
  125. This option enables JPEG support using the system libjpeg
  126. library.
  127. config BR2_PACKAGE_QT6BASE_PNG
  128. bool "PNG support"
  129. select BR2_PACKAGE_LIBPNG
  130. help
  131. This option enables PNG support using the system libpng
  132. library.
  133. config BR2_PACKAGE_QT6BASE_WIDGETS
  134. bool "widgets module"
  135. help
  136. This option enables the Qt6Widgets library.
  137. config BR2_PACKAGE_QT6BASE_PRINTSUPPORT
  138. bool "printing support"
  139. # yes, print support needs widgets
  140. depends on BR2_PACKAGE_QT6BASE_WIDGETS
  141. help
  142. This option enables printing support, optionally using CUPS
  143. if available.
  144. endif
  145. config BR2_PACKAGE_QT6BASE_NETWORK
  146. bool "network module"
  147. select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL
  148. help
  149. This options enables the Qt6Network library.
  150. config BR2_PACKAGE_QT6BASE_SQL
  151. bool "sql module"
  152. help
  153. This options enables the Qt6Sql library.
  154. if BR2_PACKAGE_QT6BASE_SQL
  155. config BR2_PACKAGE_QT6BASE_MYSQL
  156. bool "MySQL Plugin"
  157. depends on BR2_INSTALL_LIBSTDCPP
  158. depends on BR2_USE_MMU
  159. depends on BR2_TOOLCHAIN_HAS_THREADS
  160. select BR2_PACKAGE_MARIADB
  161. help
  162. Build MySQL plugin
  163. comment "MySQL plugin needs a toolchain w/ C++, threads"
  164. depends on BR2_USE_MMU
  165. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
  166. config BR2_PACKAGE_QT6BASE_PSQL
  167. bool "PostgreSQL Plugin"
  168. depends on BR2_USE_MMU
  169. depends on !BR2_STATIC_LIBS
  170. depends on BR2_USE_WCHAR
  171. depends on !BR2_OPTIMIZE_FAST
  172. select BR2_PACKAGE_POSTGRESQL
  173. help
  174. Build PostgreSQL plugin
  175. comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library"
  176. depends on BR2_USE_MMU
  177. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  178. comment "PostgreSQL plugin can't be built with optimize for fast"
  179. depends on BR2_USE_MMU
  180. depends on BR2_OPTIMIZE_FAST
  181. config BR2_PACKAGE_QT6BASE_SQLITE
  182. bool "SQLite plugin"
  183. select BR2_PACKAGE_SQLITE
  184. select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
  185. help
  186. Build SQLite plugin
  187. endif
  188. config BR2_PACKAGE_QT6BASE_SYSLOG
  189. bool "syslog support"
  190. help
  191. Logs to the standard UNIX logging mechanism.
  192. config BR2_PACKAGE_QT6BASE_TEST
  193. bool "test module"
  194. help
  195. This options enables the Qt6Test library.
  196. config BR2_PACKAGE_QT6BASE_TSLIB
  197. bool "Enable Tslib support"
  198. select BR2_PACKAGE_TSLIB
  199. help
  200. This options enables the Tslib plugin
  201. config BR2_PACKAGE_QT6BASE_XML
  202. bool "XML module"
  203. help
  204. This options enables the Qt6Xml library.
  205. endif