diff options
Diffstat (limited to 'src/gui/configure.json')
-rw-r--r-- | src/gui/configure.json | 118 |
1 files changed, 111 insertions, 7 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json index 1e4e56422f..27e913877f 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -1,7 +1,8 @@ { "module": "gui", "depends": [ - "core" + "core", + "network" ], "testDir": "../../config.tests", @@ -39,7 +40,9 @@ "qpa-platform-guard": "boolean", "sm": { "type": "boolean", "name": "sessionmanager" }, "tslib": "boolean", + "vulkan": "boolean", "xcb": { "type": "enum", "values": [ "no", "yes", "qt", "system" ] }, + "xcb-native-painting": "boolean", "xcb-xlib": "boolean", "xinput2": "boolean", "xkb": "boolean", @@ -199,7 +202,7 @@ "test": { "include": "harfbuzz/hb.h", "tail": [ - "#if !HB_VERSION_ATLEAST(0, 9, 42)", + "#if !HB_VERSION_ATLEAST(1, 6, 0)", "# error This version of harfbuzz is too old.", "#endif" ], @@ -388,6 +391,38 @@ "-lts" ] }, + "v4l2": { + "label": "V4L2", + "test": { + "include": [ + "cstddef" + ], + "tail": [ + "extern \"C\" {", + "#include <mediactl/mediactl.h>", + "#include <mediactl/v4l2subdev.h>", + "}" + ], + "main": [ + "v4l2_format fmt;", + "media_pad *pad = nullptr;", + "media_device *device = media_device_new(\"/dev/media\");", + "v4l2_subdev_set_format(nullptr, nullptr, 0, V4L2_SUBDEV_FORMAT_ACTIVE);" + ] + }, + "sources": [ + { "type": "pkgConfig", "args": "libv4l2 libmediactl" }, + "-lmediactl -lv4l2 -lv4l2subdev" + ] + }, + "vulkan": { + "label": "Vulkan", + "test": "qpa/vulkan", + "sources": [ + { "type": "pkgConfig", "args": "vulkan" }, + { "type": "makeSpec", "spec": "VULKAN" } + ] + }, "wayland_server": { "label": "Wayland Server", "test": { @@ -578,6 +613,13 @@ "sources": [ { "type": "pkgConfig", "args": "xkbcommon xkbcommon-x11 >= 0.4.1" } ] + }, + "xrender": { + "label": "XRender for native painting", + "test": "x11/xrender", + "sources": [ + "-lXrender" + ] } }, @@ -827,6 +869,12 @@ }, "use": "opengl_es2" }, + "opengles32": { + "label": "OpenGL ES 3.2", + "type": "compile", + "test": "unix/opengles32", + "use": "opengl_es2" + }, "qpa_default_platform": { "label": "default QPA platform", "type": "qpaDefaultPlatform", @@ -933,7 +981,8 @@ }, "fontconfig": { "label": "Fontconfig", - "condition": "!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig", + "autoDetect": "!config.darwin", + "condition": "!config.win32 && features.system-freetype && libs.fontconfig", "output": [ "privateFeature", "feature" ] }, "gbm": { @@ -997,10 +1046,19 @@ "condition": "tests.linuxfb && features.regularexpression", "output": [ "privateFeature" ] }, + "vsp2": { + "label": "VSP2", + "condition": "libs.v4l2", + "autoDetect": false, + "output": [ "privateFeature" ] + }, "vnc": { "label": "VNC", "section": "Platform plugins", - "condition": "config.unix && !config.android && !config.darwin && features.regularexpression", + "condition": [ + "config.unix && !config.android && !config.darwin", + "features.regularexpression && features.network" + ], "output": [ "privateFeature" ] }, "mirclient": { @@ -1043,6 +1101,14 @@ { "type": "define", "name": "QT_OPENGL_ES_3_1" } ] }, + "opengles32": { + "label": "OpenGL ES 3.2", + "condition": "features.opengles31 && tests.opengles32", + "output": [ + "publicFeature", + { "type": "define", "name": "QT_OPENGL_ES_3_2" } + ] + }, "opengl-desktop": { "label": "Desktop OpenGL", "enable": "input.opengl == 'desktop'", @@ -1065,6 +1131,11 @@ "condition": "features.opengl-desktop || features.opengl-dynamic || features.opengles2", "output": [ "publicFeature", "feature" ] }, + "vulkan": { + "label": "Vulkan", + "condition": "libs.vulkan", + "output": [ "publicFeature" ] + }, "openvg": { "label": "OpenVG", "condition": "libs.openvg", @@ -1101,6 +1172,11 @@ "condition": "features.eglfs && features.gbm && features.kms", "output": [ "privateFeature" ] }, + "eglfs_vsp2": { + "label": "EGLFS VSP2", + "condition": "features.eglfs && features.gbm && features.kms && features.vsp2", + "output": [ "privateFeature" ] + }, "eglfs_mali": { "label": "EGLFS Mali", "condition": "features.eglfs && (tests.egl-mali || tests.egl-mali-2)", @@ -1191,6 +1267,12 @@ "condition": "libs.tslib", "output": [ "privateFeature" ] }, + "tuiotouch": { + "label": "TuioTouch", + "purpose": "Provides the TuioTouch input plugin.", + "condition": "features.network && features.udpsocket", + "output": [ "privateFeature" ] + }, "xcb": { "label": "XCB", "section": "Platform plugins", @@ -1218,6 +1300,18 @@ "condition": "libs.xcb_glx", "output": [ "privateFeature" ] }, + "xcb-native-painting": { + "label": "Native painting (experimental)", + "emitIf": "features.xcb", + "condition": "features.xcb-xlib && features.fontconfig && libs.xrender", + "output": [ "privateFeature" ] + }, + "xrender": { + "label": "XRender for native painting", + "emitIf": "features.xcb && features.xcb-native-painting", + "condition": "features.xcb-native-painting", + "output": [ "privateFeature" ] + }, "xcb-render": { "label": "XCB render", "emitIf": "features.xcb", @@ -1269,6 +1363,7 @@ }, "xlib": { "label": "XLib", + "autoDetect": "!config.darwin || features.xcb", "condition": "tests.xlib", "output": [ "privateFeature" ] }, @@ -1492,6 +1587,13 @@ XKB configuration data. This is required for keyboard input support." }, { "type": "note", + "condition": "features.xcb && config.darwin", + "message": "XCB support on macOS is minimal and untested. Some features will +not work properly or at all (e.g. OpenGL, desktop services or accessibility), +or may depend on your system and XQuartz setup." + }, + { + "type": "note", "condition": "features.accessibility && features.xcb && !features.accessibility-atspi-bridge", "message": "Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing." }, @@ -1573,9 +1675,11 @@ QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your pla }, "opengles2", "opengles3", - "opengles31" + "opengles31", + "opengles32" ] }, + "vulkan", "sessionmanager" ] }, @@ -1598,7 +1702,7 @@ QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your pla "section": "EGLFS details", "condition": "features.eglfs", "entries": [ - "eglfs_openwfd", "eglfs_viv", "eglfs_viv_wl", "eglfs_rcar", "eglfs_egldevice", "eglfs_gbm", "eglfs_mali", "eglfs_brcm", "egl_x11" + "eglfs_openwfd", "eglfs_viv", "eglfs_viv_wl", "eglfs_rcar", "eglfs_egldevice", "eglfs_gbm", "eglfs_vsp2", "eglfs_mali", "eglfs_brcm", "egl_x11" ] }, "linuxfb", "vnc", "mirclient", @@ -1618,7 +1722,7 @@ QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your pla "section": "X11", "condition": "features.xcb", "entries": [ - "system-xcb", "egl_x11", "xinput2", "xkb", "xlib", "xcb-render", "xcb-glx", "xcb-xlib", "xkbcommon-system" + "system-xcb", "egl_x11", "xinput2", "xkb", "xlib", "xcb-render", "xcb-glx", "xcb-xlib", "xkbcommon-system", "xcb-native-painting" ] }, { |