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
|
CONFIG += wayland-scanner
CONFIG += link_pkgconfig
TARGET = custom-wayland
QT += waylandclient-private
!contains(QT_CONFIG, no-pkg-config) {
PKGCONFIG += wayland-client
} else {
LIBS += -lwayland-client
}
WAYLANDCLIENTSOURCES += ../protocol/custom.xml
OTHER_FILES += client.json
SOURCES += main.cpp \
customextension.cpp
HEADERS += customextension.h
PLUGIN_TYPE = platforms
load(qt_plugin)
# Installation into a "proper" Qt location is most unexpected for from an example.
CONFIG += install_ok
|