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