summaryrefslogtreecommitdiffstats
path: root/frameworks/qt6/qt6base/Config_qt6base-gui.in
blob: 37707f4ac4fca2ccc3d05a46ea964037b455f72b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
config BUILD_qt6base-gui_DRM
    bool "Include DRM support"
    depends on PACKAGE_qt6base-gui
    default y

config BUILD_qt6base-gui_UDEV
    bool "Use libudev for input device discovery"
    depends on PACKAGE_qt6base-gui
    default y
    help
        Input device discovery of the evdev, linuxfb, vnc and eglfs plugins
        through libudev, including hotplug of input devices. Otherwise
        devices are discovered by scanning /dev/input once at startup.

        libudev is provided by libudev-zero. Its "udev" monitor, which Qt
        uses, listens on netlink group mask 0x4 instead of the kernel's
        uevent group (0x1). Hotplug events are only delivered if uevents
        are forwarded to that group; enumeration at startup is not
        affected.

# No "depends on PACKAGE_qt6base-gui": qt6base-opengl selects qt6base-gui
# and depends on BUILD_qt6base-gui_OPENGL_OPENGLES2, so the choice would
# depend on itself, which Kconfig rejects as a recursive dependency.
choice
    prompt "Which OpenGL variant to use"
    default BUILD_qt6base-gui_OPENGL_NONE

config BUILD_qt6base-gui_OPENGL_OPENGLES2
    bool "es2"

config BUILD_qt6base-gui_OPENGL_NONE
    bool "no"

endchoice

choice
    prompt "Default platform plugin"
    default BUILD_qt6base-gui_QPA_DEFAULT_EGLFS if PACKAGE_qt6base-plugin-platforms-eglfs
    default BUILD_qt6base-gui_QPA_DEFAULT_LINUXFB if PACKAGE_qt6base-plugin-platforms-linuxfb
    default BUILD_qt6base-gui_QPA_DEFAULT_VNC if PACKAGE_qt6base-plugin-platforms-vnc
    default BUILD_qt6base-gui_QPA_DEFAULT_OFFSCREEN if PACKAGE_qt6base-plugin-platforms-offscreen
    default BUILD_qt6base-gui_QPA_DEFAULT_MINIMAL if PACKAGE_qt6base-plugin-platforms-minimal
    help
        Platform plugin compiled into Qt6Gui as the default, used when
        neither QT_QPA_PLATFORM nor -platform select one at runtime.

config BUILD_qt6base-gui_QPA_DEFAULT_EGLFS
    bool "eglfs"
    depends on PACKAGE_qt6base-plugin-platforms-eglfs

config BUILD_qt6base-gui_QPA_DEFAULT_LINUXFB
    bool "linuxfb"
    depends on PACKAGE_qt6base-plugin-platforms-linuxfb

config BUILD_qt6base-gui_QPA_DEFAULT_VNC
    bool "vnc"
    depends on PACKAGE_qt6base-plugin-platforms-vnc

config BUILD_qt6base-gui_QPA_DEFAULT_OFFSCREEN
    bool "offscreen"
    depends on PACKAGE_qt6base-plugin-platforms-offscreen

config BUILD_qt6base-gui_QPA_DEFAULT_MINIMAL
    bool "minimal"
    depends on PACKAGE_qt6base-plugin-platforms-minimal

endchoice