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
|