summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-ivi-climate/demo/demo.pro
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-01-31 11:14:26 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2019-02-15 10:51:25 +0000
commit906ae2192e55aa6bdf251ec120b54016bc9e2477 (patch)
treef15b55093d31e607458deea01688757129dbd8d0 /examples/ivicore/qface-ivi-climate/demo/demo.pro
parent1ccc6fdbed233d46a9deed8e798326c70631913e (diff)
downloadqtivi-906ae2192e55aa6bdf251ec120b54016bc9e2477.tar.gz
Use the new autogenerated qmltypes in our examples
Instead of registering the QML types with a custom uri, we now just use the default argument of the type registration and by that make sure that the types are registered with the same uri which was used in the qface file and the same which is used by the autogenerated qml types. Adding the QML_IMPORT_PATH to our autogenerated qmltypes makes sure QtCreator knows the type and can provide a code-completion Change-Id: Ifd4ce8ec32da240ccf0070b737fd02c17f8fe2dc Fixes: AUTOSUITE-743 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'examples/ivicore/qface-ivi-climate/demo/demo.pro')
-rw-r--r--examples/ivicore/qface-ivi-climate/demo/demo.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ivicore/qface-ivi-climate/demo/demo.pro b/examples/ivicore/qface-ivi-climate/demo/demo.pro
index 6bc3bc1..e95e1f0 100644
--- a/examples/ivicore/qface-ivi-climate/demo/demo.pro
+++ b/examples/ivicore/qface-ivi-climate/demo/demo.pro
@@ -17,7 +17,7 @@ RESOURCES += qml.qrc
QMAKE_RPATHDIR += $ORIGIN
# Additional import path used to resolve QML modules in Qt Creator's code model
-QML_IMPORT_PATH =
+QML_IMPORT_PATH += $$OUT_PWD/../frontend/qml
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =