File: compositor.pro

package info (click to toggle)
qtwayland-opensource-src 5.7.1~20161021-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,832 kB
  • ctags: 4,561
  • sloc: cpp: 28,827; xml: 3,894; ansic: 124; makefile: 30
file content (34 lines) | stat: -rw-r--r-- 618 bytes parent folder | download
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
QT += core gui qml

QT += waylandcompositor-private

CONFIG += wayland-scanner
CONFIG += c++11
SOURCES += \
    main.cpp \
    customextension.cpp

OTHER_FILES = \
    qml/main.qml \
    qml/Screen.qml \
    images/background.jpg

WAYLANDSERVERSOURCES += \
            ../protocol/custom.xml

RESOURCES += compositor.qrc

contains(QT_CONFIG, no-pkg-config) {
    LIBS += -lwayland-server
} else {
    CONFIG += link_pkgconfig
    PKGCONFIG += wayland-server
}

TARGET = custom-compositor

HEADERS += \
    customextension.h

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