Config.in 6.9 KB

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