aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/qmlextensionplugins/plugins.qmlproject
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-11-15 12:23:49 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-01-14 09:44:15 +0100
commitda4cdfec983572148bd41dbacaacb318783e519c (patch)
tree84912e8f99d60241016d5f3fa5af4569cd738047 /examples/qml/qmlextensionplugins/plugins.qmlproject
parent3dc5b937c4e9acf83ee54e870390c22f341c29c8 (diff)
examples: Make qmlextensionplugins example usable without installation
The qmldir file as well as the .qml files have to be placed next to the plugin, the import path has to be added to the .qmlproject, we want the .qmltypes file added to the same place, and the plugins.qml should also be available in the destination directory. Change-Id: I82b369693e612779c6213345cc8f6a30b16d41b4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/qml/qmlextensionplugins/plugins.qmlproject')
-rw-r--r--examples/qml/qmlextensionplugins/plugins.qmlproject2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/qml/qmlextensionplugins/plugins.qmlproject b/examples/qml/qmlextensionplugins/plugins.qmlproject
index 771ab45b66..c2de5f5703 100644
--- a/examples/qml/qmlextensionplugins/plugins.qmlproject
+++ b/examples/qml/qmlextensionplugins/plugins.qmlproject
@@ -13,4 +13,6 @@ Project {
ImageFiles {
directory: "."
}
+
+ importPaths: [ "imports" ]
}