summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/backend_simulator.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/backend_simulator.pro')
-rw-r--r--examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/backend_simulator.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/backend_simulator.pro b/examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/backend_simulator.pro
new file mode 100644
index 0000000..ef80b73
--- /dev/null
+++ b/examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/backend_simulator.pro
@@ -0,0 +1,20 @@
+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
+
+# 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/chapter3-simulation-backend
+INSTALLS += target