summaryrefslogtreecommitdiffstats
path: root/examples/wayland/minimal-cpp/minimal-cpp.pro
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@theqtcompany.com>2016-01-08 15:41:22 +0100
committerPaul Olav Tvete <paul.tvete@theqtcompany.com>2016-01-12 14:07:31 +0000
commit2adae188cb916d5a6ffbee65abf4ee8144de9ec2 (patch)
treed3d12982cc509ab366048b65368071ccf26992ec /examples/wayland/minimal-cpp/minimal-cpp.pro
parent00a71144b15ebc7b3ff832334d7d2793bb477a18 (diff)
A minimal c++-based compositor
No input handling. Change-Id: Ie35f8ad5ff7317c83b9b76bc5c45adaca8bdb6fb Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> (cherry picked from commit a3aa68222d586f38e261f8dae5b2d50230f3ebb3) Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'examples/wayland/minimal-cpp/minimal-cpp.pro')
-rw-r--r--examples/wayland/minimal-cpp/minimal-cpp.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/wayland/minimal-cpp/minimal-cpp.pro b/examples/wayland/minimal-cpp/minimal-cpp.pro
new file mode 100644
index 000000000..46e422f69
--- /dev/null
+++ b/examples/wayland/minimal-cpp/minimal-cpp.pro
@@ -0,0 +1,20 @@
+QT += gui gui-private core-private waylandcompositor waylandcompositor-private
+
+LIBS += -L ../../lib
+
+HEADERS += \
+ compositor.h \
+ window.h
+
+SOURCES += main.cpp \
+ compositor.cpp \
+ window.cpp
+
+# to make QtWaylandCompositor/... style includes working without installing
+INCLUDEPATH += $$PWD/../../include
+
+
+target.path = $$[QT_INSTALL_EXAMPLES]/wayland/minimal-cpp
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS minimal-cpp.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/wayland/minimal-cpp
+INSTALLS += target sources