Make it possible to run qwindow-compositor in non-fullscreen.
[profile/ivi/qtwayland.git] / examples / qwindow-compositor / qwindow-compositor.pro
index 4fc6d99..79f318a 100644 (file)
@@ -8,6 +8,7 @@ CONFIG += use_pkgconfig
 
 DESTDIR=$$PWD/../../bin/
 
+LIBS += -L ../../lib
 include (../../src/qt-compositor/qt-compositor.pri)
 
 # Input
@@ -20,20 +21,9 @@ 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 opengl
 
-target.path += $$[QT_INSTALL_DATA]/bin
+target.path += $$[QT_INSTALL_BINS]
 INSTALLS += target
 
 HEADERS += \
@@ -41,8 +31,4 @@ HEADERS += \
     surfacerenderer.h \
     qwindowcompositor.h
 
-
-
-
-
-
+RESOURCES += qwindow-compositor.qrc