summaryrefslogtreecommitdiffstats
path: root/examples/scxml/calculator-qml/calculator-qml.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-30 16:35:52 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-31 08:43:04 +0000
commit4deeb7ac30a3a5423fb8063e1b2c835bd50f018b (patch)
tree4822f40b07ddeddb588da7fd7e05df9aa855fc25 /examples/scxml/calculator-qml/calculator-qml.pro
parent875c370750106be6d264679fc46942e7ee3279ed (diff)
Add calculator QML example
Change-Id: I225ace405a9afc62ba68079a53856a2567f678bd Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'examples/scxml/calculator-qml/calculator-qml.pro')
-rw-r--r--examples/scxml/calculator-qml/calculator-qml.pro15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/scxml/calculator-qml/calculator-qml.pro b/examples/scxml/calculator-qml/calculator-qml.pro
new file mode 100644
index 0000000..6221576
--- /dev/null
+++ b/examples/scxml/calculator-qml/calculator-qml.pro
@@ -0,0 +1,15 @@
+QT += qml scxml
+
+CONFIG += c++11
+
+SOURCES += calculator-qml.cpp
+
+RESOURCES += calculator-qml.qrc
+
+STATECHARTS = ../calculator-common/statemachine.scxml
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/scxml/calculator-qml
+INSTALLS += target
+
+load(qscxmlc)