summaryrefslogtreecommitdiffstats
path: root/examples/wayland/minimal-cpp/minimal-cpp.pro
diff options
context:
space:
mode:
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