Initial commit of QWindow based compositor
[profile/ivi/qtwayland.git] / examples / qwindow-compositor / qwindow-compositor.pro
1 TEMPLATE = app
2 TARGET = qwindow-compositor
3 DEPENDPATH += .
4 INCLUDEPATH += .
5
6 # comment out the following to not use pkg-config in the pri files
7 CONFIG += use_pkgconfig
8
9 DESTDIR=$$PWD/../../bin/
10
11 include (../../src/qt-compositor/qt-compositor.pri)
12
13 # Input
14 SOURCES += main.cpp \
15     qopenglwindow.cpp \
16     surfacerenderer.cpp \
17     qwindowcompositor.cpp
18
19 CONFIG += qt warn_on debug  create_prl link_prl
20 OBJECTS_DIR = .obj/release-shared
21 MOC_DIR = .moc/release-shared
22
23 # Touch support
24 isEmpty(QT_SOURCE_TREE) {
25     QTBASE = $$[QT_INSTALL_DATA]
26 } else {
27     QTBASE = $$QT_SOURCE_TREE
28 }
29 #TOUCHSCREEN_BASE = $$QTBASE/src/plugins/generic/touchscreen
30 #SOURCES += $$TOUCHSCREEN_BASE/qtouchscreen.cpp
31 #HEADERS += $$TOUCHSCREEN_BASE/qtouchscreen.h
32 #INCLUDEPATH += $$TOUCHSCREEN_BASE
33 #LIBS += -ludev -lmtdev
34 QT += gui opengl
35
36 target.path += $$[QT_INSTALL_DATA]/bin
37 INSTALLS += target
38
39 HEADERS += \
40     qopenglwindow.h \
41     surfacerenderer.h \
42     qwindowcompositor.h
43
44
45
46
47
48