summaryrefslogtreecommitdiffstats
path: root/examples/qwidget-compositor/qt-compositor.pro
blob: 353b34ca5bf3a59b201f7d09a121ba9d24055110 (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
TEMPLATE = app
TARGET = qwidget-compositor
DEPENDPATH += .
INCLUDEPATH += .

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

DESTDIR=$$PWD/../../bin/

include (../../src/qt-compositor/qt-compositor.pri)

# Input
SOURCES += main.cpp

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

# Touch support
isEmpty(QT_SOURCE_TREE) {
    QTBASE = $$[QT_INSTALL_DATA]
} else {
    QTBASE = $$QT_SOURCE_TREE
}
TOUCHSCREEN_BASE = $$QTBASE/src/plugins/generic/touchscreen
SOURCES += $$TOUCHSCREEN_BASE/qtouchscreen.cpp
HEADERS += $$TOUCHSCREEN_BASE/qtouchscreen.h
INCLUDEPATH += $$TOUCHSCREEN_BASE
LIBS += -ludev -lmtdev
QT += gui-private