diff options
Diffstat (limited to 'src/imports/vehiclefunctions/vehiclefunctions.pro')
-rw-r--r-- | src/imports/vehiclefunctions/vehiclefunctions.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/imports/vehiclefunctions/vehiclefunctions.pro b/src/imports/vehiclefunctions/vehiclefunctions.pro index 5ba0a45..1acc47d 100644 --- a/src/imports/vehiclefunctions/vehiclefunctions.pro +++ b/src/imports/vehiclefunctions/vehiclefunctions.pro @@ -8,6 +8,13 @@ SOURCES += \ QT += ivicore ivivehiclefunctions +# Automatically update the qmltypes file to keep it up to date with API changes +# This only works for non-prefix builds and not when cross-compiling +!cross_compile:!force_independent:if(!debug_and_release|!build_all|CONFIG(release, debug|release)) { + first.target = first + first.depends += qmltypes + QMAKE_EXTRA_TARGETS += first +} load(qml_plugin) qml_files = $$_PRO_FILE_PWD_/qmldir |