summaryrefslogtreecommitdiffstats
path: root/examples/wayland/qwindow-compositor/qwindow-compositor.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/qwindow-compositor/qwindow-compositor.pro')
-rw-r--r--examples/wayland/qwindow-compositor/qwindow-compositor.pro29
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/wayland/qwindow-compositor/qwindow-compositor.pro b/examples/wayland/qwindow-compositor/qwindow-compositor.pro
new file mode 100644
index 000000000..4bab000b5
--- /dev/null
+++ b/examples/wayland/qwindow-compositor/qwindow-compositor.pro
@@ -0,0 +1,29 @@
+QT += gui gui-private core-private compositor
+
+LIBS += -L ../../lib
+#include (../../src/qt-compositor/qt-compositor.pri)
+
+HEADERS += \
+ compositorwindow.h \
+ qwindowcompositor.h \
+ textureblitter.h
+
+SOURCES += main.cpp \
+ compositorwindow.cpp \
+ qwindowcompositor.cpp \
+ textureblitter.cpp
+
+# to make QtCompositor/... style includes working without installing
+INCLUDEPATH += $$PWD/../../include
+
+# if you want to compile QtCompositor as part of the application
+# instead of linking to it, remove the QT += compositor and uncomment
+# the following line
+#include(../../src/compositor/compositor.pri)
+
+RESOURCES += qwindow-compositor.qrc
+
+target.path = $$[QT_INSTALL_EXAMPLES]/wayland/qwindow-compositor
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qwindow-compositor.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/wayland/qwindow-compositor
+INSTALLS += target sources