summaryrefslogtreecommitdiffstats
path: root/src/libcommuni/examples/qmlbot/qmlbot.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcommuni/examples/qmlbot/qmlbot.pro')
-rw-r--r--src/libcommuni/examples/qmlbot/qmlbot.pro22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/libcommuni/examples/qmlbot/qmlbot.pro b/src/libcommuni/examples/qmlbot/qmlbot.pro
new file mode 100644
index 0000000..95c2961
--- /dev/null
+++ b/src/libcommuni/examples/qmlbot/qmlbot.pro
@@ -0,0 +1,22 @@
+######################################################################
+# Communi
+######################################################################
+
+TEMPLATE = app
+TARGET = qmlbot
+DEPENDPATH += .
+INCLUDEPATH += .
+CONFIG += console
+CONFIG -= app_bundle
+QT = core network qml
+
+lessThan(QT_MAJOR_VERSION, 5)|lessThan(QT_MINOR_VERSION, 1) {
+ error(The QML2 based example requires Qt 5.1 or newer but Qt $$[QT_VERSION] was detected.)
+}
+
+# Input
+SOURCES += main.cpp
+RESOURCES += qmlbot.qrc
+OTHER_FILES += qml/main.qml
+
+include(../examples.pri)