Avoid qwindow-compositor crash on startup due to missing background.
[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 LIBS += -L ../../lib
12 include (../../src/qt-compositor/qt-compositor.pri)
13
14 # Input
15 SOURCES += main.cpp \
16     qopenglwindow.cpp \
17     surfacerenderer.cpp \
18     qwindowcompositor.cpp
19
20 CONFIG += qt warn_on debug  create_prl link_prl
21 OBJECTS_DIR = .obj/release-shared
22 MOC_DIR = .moc/release-shared
23
24 # Touch support
25 isEmpty(QT_SOURCE_TREE) {
26     QTBASE = $$[QT_INSTALL_DATA]
27 } else {
28     QTBASE = $$QT_SOURCE_TREE
29 }
30 #TOUCHSCREEN_BASE = $$QTBASE/src/plugins/generic/touchscreen
31 #SOURCES += $$TOUCHSCREEN_BASE/qtouchscreen.cpp
32 #HEADERS += $$TOUCHSCREEN_BASE/qtouchscreen.h
33 #INCLUDEPATH += $$TOUCHSCREEN_BASE
34 #LIBS += -ludev -lmtdev
35 QT += gui opengl
36
37 target.path += $$[QT_INSTALL_BINS]
38 INSTALLS += target
39
40 HEADERS += \
41     qopenglwindow.h \
42     surfacerenderer.h \
43     qwindowcompositor.h
44
45 RESOURCES += qwindow-compositor.qrc