Config.in 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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_CURSOR
  55. select BR2_PACKAGE_XCB_UTIL_IMAGE
  56. select BR2_PACKAGE_XCB_UTIL_KEYSYMS
  57. select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
  58. select BR2_PACKAGE_XCB_UTIL_WM
  59. select BR2_PACKAGE_LIBXKBCOMMON
  60. comment "X.org XCB backend available if X.org is enabled"
  61. depends on !BR2_PACKAGE_XORG7
  62. config BR2_PACKAGE_QT6BASE_EGLFS
  63. bool "eglfs support"
  64. depends on BR2_PACKAGE_HAS_LIBEGL
  65. depends on BR2_PACKAGE_HAS_LIBGBM
  66. depends on BR2_PACKAGE_QT6_GL_SUPPORTS
  67. select BR2_PACKAGE_QT6BASE_OPENGL
  68. config BR2_PACKAGE_QT6BASE_DEFAULT_QPA
  69. string "Default graphical platform"
  70. help
  71. Choose the default platform abstraction to use for graphical
  72. applications (e.g xcb, linuxfb, eglfs, ...). If this is
  73. empty, the default for your architecture will be used
  74. (usually this is eglfs).
  75. You can get a list of supported platforms by running a Qt
  76. application with the option "-platform help" on your
  77. target. You can choose a different platform at runtime with
  78. the -platform option.
  79. config BR2_PACKAGE_QT6BASE_OPENGL
  80. bool "OpenGL support"
  81. depends on BR2_PACKAGE_QT6_GL_SUPPORTS
  82. help
  83. This option enables OpenGL support.
  84. comment "OpenGL support needs an OpenGL-capable backend"
  85. depends on !BR2_PACKAGE_QT6_GL_SUPPORTS
  86. if BR2_PACKAGE_QT6BASE_OPENGL
  87. choice
  88. prompt "OpenGL API"
  89. help
  90. Select OpenGL API.
  91. config BR2_PACKAGE_QT6BASE_OPENGL_DESKTOP
  92. bool "Desktop OpenGL"
  93. depends on BR2_PACKAGE_HAS_LIBGL
  94. help
  95. Use desktop OpenGL.
  96. config BR2_PACKAGE_QT6BASE_OPENGL_ES2
  97. bool "OpenGL ES 2.0+"
  98. depends on BR2_PACKAGE_HAS_LIBGLES
  99. help
  100. Use OpenGL ES 2.0 and later versions.
  101. endchoice
  102. endif
  103. config BR2_PACKAGE_QT6BASE_FONTCONFIG
  104. bool "fontconfig support"
  105. select BR2_PACKAGE_FONTCONFIG
  106. help
  107. This option enables Fontconfig support using the system
  108. fontconfig library.
  109. config BR2_PACKAGE_QT6BASE_HARFBUZZ
  110. bool "harfbuzz support"
  111. select BR2_PACKAGE_HARFBUZZ if \
  112. BR2_TOOLCHAIN_HAS_SYNC_4 && \
  113. BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  114. help
  115. This option enables HarfBuzz support (either system harfbuzz
  116. if the toolchain supports __sync for 4 bytes, or the qt
  117. provided one which avoids this dependency by using QAtomic).
  118. config BR2_PACKAGE_QT6BASE_GIF
  119. bool "GIF support"
  120. help
  121. This compiles and installs the plugin for GIF reading support.
  122. config BR2_PACKAGE_QT6BASE_JPEG
  123. bool "JPEG support"
  124. select BR2_PACKAGE_JPEG
  125. help
  126. This option enables JPEG support using the system libjpeg
  127. library.
  128. config BR2_PACKAGE_QT6BASE_PNG
  129. bool "PNG support"
  130. select BR2_PACKAGE_LIBPNG
  131. help
  132. This option enables PNG support using the system libpng
  133. library.
  134. config BR2_PACKAGE_QT6BASE_WIDGETS
  135. bool "widgets module"
  136. help
  137. This option enables the Qt6Widgets library.
  138. config BR2_PACKAGE_QT6BASE_PRINTSUPPORT
  139. bool "printing support"
  140. # yes, print support needs widgets
  141. depends on BR2_PACKAGE_QT6BASE_WIDGETS
  142. help
  143. This option enables printing support, optionally using CUPS
  144. if available.
  145. endif
  146. config BR2_PACKAGE_QT6BASE_NETWORK
  147. bool "network module"
  148. select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL
  149. help
  150. This options enables the Qt6Network library.
  151. config BR2_PACKAGE_QT6BASE_SQL
  152. bool "sql module"
  153. help
  154. This options enables the Qt6Sql library.
  155. if BR2_PACKAGE_QT6BASE_SQL
  156. config BR2_PACKAGE_QT6BASE_MYSQL
  157. bool "MySQL Plugin"
  158. depends on BR2_INSTALL_LIBSTDCPP
  159. depends on BR2_USE_MMU
  160. depends on BR2_TOOLCHAIN_HAS_THREADS
  161. select BR2_PACKAGE_MARIADB
  162. help
  163. Build MySQL plugin
  164. comment "MySQL plugin needs a toolchain w/ C++, threads"
  165. depends on BR2_USE_MMU
  166. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
  167. config BR2_PACKAGE_QT6BASE_PSQL
  168. bool "PostgreSQL Plugin"
  169. depends on BR2_USE_MMU # postgresql
  170. depends on BR2_USE_WCHAR # postgresql
  171. depends on BR2_ENABLE_LOCALE # postgresql
  172. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # postgresql
  173. depends on !BR2_STATIC_LIBS # postgresql
  174. depends on !BR2_OPTIMIZE_FAST # postgresql
  175. select BR2_PACKAGE_POSTGRESQL
  176. help
  177. Build PostgreSQL plugin
  178. comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library"
  179. depends on BR2_USE_MMU
  180. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  181. comment "PostgreSQL plugin can't be built with optimize for fast"
  182. depends on BR2_USE_MMU
  183. depends on BR2_OPTIMIZE_FAST
  184. config BR2_PACKAGE_QT6BASE_SQLITE
  185. bool "SQLite plugin"
  186. select BR2_PACKAGE_SQLITE
  187. select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
  188. help
  189. Build SQLite plugin
  190. endif
  191. config BR2_PACKAGE_QT6BASE_SYSLOG
  192. bool "syslog support"
  193. help
  194. Logs to the standard UNIX logging mechanism.
  195. config BR2_PACKAGE_QT6BASE_TEST
  196. bool "test module"
  197. help
  198. This options enables the Qt6Test library.
  199. config BR2_PACKAGE_QT6BASE_TSLIB
  200. bool "Enable Tslib support"
  201. select BR2_PACKAGE_TSLIB
  202. help
  203. This options enables the Tslib plugin
  204. config BR2_PACKAGE_QT6BASE_XML
  205. bool "XML module"
  206. help
  207. This options enables the Qt6Xml library.
  208. endif