summaryrefslogtreecommitdiff
path: root/examples/ivicore
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ivicore')
-rw-r--r--examples/ivicore/qface-ivi-climate/backend_simulator/backend_simulator.pro3
-rw-r--r--examples/ivicore/qface-ivi-climate/demo/demo.pro5
-rw-r--r--examples/ivicore/qface-ivi-climate/frontend/frontend.pro3
3 files changed, 8 insertions, 3 deletions
diff --git a/examples/ivicore/qface-ivi-climate/backend_simulator/backend_simulator.pro b/examples/ivicore/qface-ivi-climate/backend_simulator/backend_simulator.pro
index 710b6dc..4f13532 100644
--- a/examples/ivicore/qface-ivi-climate/backend_simulator/backend_simulator.pro
+++ b/examples/ivicore/qface-ivi-climate/backend_simulator/backend_simulator.pro
@@ -20,5 +20,6 @@ QT += core ivicore
QFACE_FORMAT = backend_simulator
QFACE_SOURCES = ../example-ivi-climate.qface
-target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate/backend_simulator
+CONFIG += install_ok # Do not cargo-cult this!
+target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate/qtivi/
INSTALLS += target
diff --git a/examples/ivicore/qface-ivi-climate/demo/demo.pro b/examples/ivicore/qface-ivi-climate/demo/demo.pro
index f42531e..4f9c1ef 100644
--- a/examples/ivicore/qface-ivi-climate/demo/demo.pro
+++ b/examples/ivicore/qface-ivi-climate/demo/demo.pro
@@ -13,6 +13,8 @@ SOURCES += main.cpp
RESOURCES += qml.qrc
+QMAKE_RPATHDIR += $ORIGIN
+
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
@@ -30,5 +32,6 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
-target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate/demo
+CONFIG += install_ok # Do not cargo-cult this!
+target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate
INSTALLS += target
diff --git a/examples/ivicore/qface-ivi-climate/frontend/frontend.pro b/examples/ivicore/qface-ivi-climate/frontend/frontend.pro
index 836e861..7ebda2f 100644
--- a/examples/ivicore/qface-ivi-climate/frontend/frontend.pro
+++ b/examples/ivicore/qface-ivi-climate/frontend/frontend.pro
@@ -13,5 +13,6 @@ DEFINES += QT_BUILD_CLIMATE_LIB
QFACE_SOURCES = ../example-ivi-climate.qface
-target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate/frontend
+CONFIG += install_ok # Do not cargo-cult this!
+target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate
INSTALLS += target