summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/backend_simulator.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/backend_simulator.pro')
-rw-r--r--examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/backend_simulator.pro23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/backend_simulator.pro b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/backend_simulator.pro
new file mode 100644
index 0000000..73e020f
--- /dev/null
+++ b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/backend_simulator.pro
@@ -0,0 +1,23 @@
+TEMPLATE = lib
+TARGET = $$qtLibraryTarget(instrumentcluster_simulation)
+DESTDIR = ../qtivi
+
+QT += core ivicore
+CONFIG += ivigenerator plugin
+
+LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
+INCLUDEPATH += $$OUT_PWD/../frontend
+
+QFACE_FORMAT = backend_simulator
+QFACE_SOURCES = ../instrument-cluster.qface
+PLUGIN_TYPE = qtivi
+
+RESOURCES += \
+ simulation.qrc
+
+# Additional import path used to resolve QML modules in Qt Creator's code model
+QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
+
+CONFIG += install_ok # Do not cargo-cult this!
+target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter4-simulation-behavior
+INSTALLS += target