summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-ivi-climate/demo/main.qml
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/main.qml
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/main.qml')
-rw-r--r--examples/ivicore/qface-ivi-climate/demo/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ivicore/qface-ivi-climate/demo/main.qml b/examples/ivicore/qface-ivi-climate/demo/main.qml
index 93b28e8..eeb8808 100644
--- a/examples/ivicore/qface-ivi-climate/demo/main.qml
+++ b/examples/ivicore/qface-ivi-climate/demo/main.qml
@@ -54,7 +54,7 @@
import QtQuick 2.7
import QtQuick.Window 2.2
//! [0]
-import IviClimate 1.0
+import Example.IVI.Climate 1.0
Window {