summaryrefslogtreecommitdiffstats
path: root/examples/qwidget-compositor/qwidget-compositor.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qwidget-compositor/qwidget-compositor.pro')
-rw-r--r--examples/qwidget-compositor/qwidget-compositor.pro15
1 files changed, 9 insertions, 6 deletions
diff --git a/examples/qwidget-compositor/qwidget-compositor.pro b/examples/qwidget-compositor/qwidget-compositor.pro
index 98bcb0c4f..409930a43 100644
--- a/examples/qwidget-compositor/qwidget-compositor.pro
+++ b/examples/qwidget-compositor/qwidget-compositor.pro
@@ -6,9 +6,7 @@ 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)
+#include (../../src/qt-compositor/qt-compositor.pri)
# Input
SOURCES += main.cpp
@@ -23,12 +21,17 @@ isEmpty(QT_SOURCE_TREE) {
} 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 widgets widgets-private opengl opengl-private
-target.path += $$[QT_INSTALL_DATA]/bin
-INSTALLS += target
+QT += gui-private widgets widgets-private opengl opengl-private compositor
+
+# install
+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