File: client-plugin.pro

package info (click to toggle)
qt6-wayland 6.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,324 kB
  • sloc: cpp: 56,316; xml: 11,445; ansic: 135; sh: 30; makefile: 23
file content (33 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (4)
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
QT += gui-private waylandclient-private
CONFIG += plugin wayland-scanner
TEMPLATE = lib

QMAKE_USE += wayland-client

qtConfig(xkbcommon): \
    QMAKE_USE += xkbcommon

WAYLANDCLIENTSOURCES += \
    ../protocol/example-shell.xml

HEADERS += \
    exampleshellintegration.h \
    examplesurface.h

SOURCES += \
    main.cpp \
    exampleshellintegration.cpp \
    examplesurface.cpp

OTHER_FILES += \
    example-shell.json

DESTDIR = ../plugins/wayland-shell-integration
TARGET = $$qtLibraryTarget(exampleshellplugin)

### Everything below this line is just to make the example work inside the Qt source tree.
### Do not include the following lines in your own code.

target.path = $$[QT_INSTALL_EXAMPLES]/wayland/customshell/plugins/wayland-shell-integration
INSTALLS += target
CONFIG += install_ok