summaryrefslogtreecommitdiffstats
path: root/examples/qwindow-compositor/qwindow-compositor.pro
blob: e154ad96ecebe9c680e55408368bca24b4caa987 (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
29
30
31
32
33
34
35
36
37
38
TEMPLATE = app
TARGET = qwindow-compositor
DEPENDPATH += .
INCLUDEPATH += .

# comment out the following to not use pkg-config in the pri files
CONFIG += use_pkgconfig

LIBS += -L ../../lib
#include (../../src/qt-compositor/qt-compositor.pri)

# Input
SOURCES += main.cpp \
    qopenglwindow.cpp \
    surfacerenderer.cpp \
    qwindowcompositor.cpp

CONFIG += qt warn_on debug  create_prl link_prl
OBJECTS_DIR = .obj/release-shared
MOC_DIR = .moc/release-shared

QT += gui

QT += compositor
#include(../../src/compositor/compositor.pri)

HEADERS += \
    qopenglwindow.h \
    surfacerenderer.h \
    qwindowcompositor.h

RESOURCES += qwindow-compositor.qrc

# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtwayland/qwindow-compositor
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qwindow-compositor.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtwayland/qwindow-compositor
INSTALLS += target sources