summaryrefslogtreecommitdiffstats
path: root/examples/wayland/custom-extension/qml-client/qml-client.pro
blob: aec29d2b31a380807edeb9bcde4aba8387a10265 (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
TEMPLATE = app

QT += qml quick waylandclient-private

CONFIG += c++11
CONFIG += wayland-scanner
CONFIG += link_pkgconfig

WAYLANDCLIENTSOURCES += ../protocol/custom.xml

!contains(QT_CONFIG, no-pkg-config) {
    PKGCONFIG += wayland-client
} else {
    LIBS += -lwayland-client
}

SOURCES += main.cpp \
    ../client-common/customextension.cpp

HEADERS += \
    ../client-common/customextension.h

RESOURCES += qml.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/wayland/custom-extension/qml-client
INSTALLS += target