summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-03-16 10:22:19 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2018-04-05 08:38:08 +0000
commitdefe266fd035d843fc53bdf25d4164a1f0362b83 (patch)
tree9e861a3f7aae24379525df4df2a2fa37f39229b0 /dist
parent6e86d6fcfba57abb37f0369a0382e61b4f6c161e (diff)
qml_module.prf: embed qmldir to resources in static builds only
For "import MyModule", the QML engine looks for a qmldir file in $eachImportPath/MyModule. One of the built-in import paths is ":/qt-project.org/imports". This is meant for static "plugins", where the resources and the plugin are already inside the binary image. For dynamic plugins, the qmldir file is what enables the QML engine to find the plugin in the first place, so it makes no sense to embed it inside the plugin's resources. Change-Id: I29f006efb58d91f7e5212c347087535b06e8c637 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions