summaryrefslogtreecommitdiffstats
path: root/examples/qwidget-compositor/qwidget-compositor.pro
blob: 20dce5a62239a15f26c35cb32c7e04927bd2988b (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
#  if you want to compile QtCompositor as part of the application
#  instead of linking to it, remove the QT += compositor and uncomment
#  the following line
#include (../../src/qt-compositor/qt-compositor.pri)

# to make QtCompositor/... style includes working without installing
INCLUDEPATH += $$PWD/../../include

# Touch support
isEmpty(QT_SOURCE_TREE) {
    QTBASE = $$[QT_INSTALL_DATA]
} else {
    QTBASE = $$QT_SOURCE_TREE
}

HEADERS += \
            textureblitter.h

SOURCES += \
            main.cpp \
            textureblitter.cpp

QT += core-private gui-private widgets widgets-private opengl opengl-private compositor

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