qt5base-lts/tests/auto/corelib/plugin/qpluginloader
Ulf Hermann e7e557cea2 moc: Add a standard way of specifying a URI as part of Q_PLUGIN_METADATA
Usually, when you load a plugin, you don't want to load just any plugin
that fulfills a given interface, but rather a specific one. When loading
dynamic plugins you can differentiate the plugins by file name. This
doesn't work in the static case, and file names are also separate from
the plugin metadata shipped inside the plugin files.

To solve this problem, different hacks have been developed in various
places. QML extension plugins add a special property "uri" via the -M
option of moc, QML debug plugins expect you to add a json file with
an array of "Keys", Qt Creator plugins have a "Name" in their json
files, etc.

By allowing the identifier for the plugin to be specified inline with
the metadata declaration we can make many of the above workarounds
obsolete and provide a clean way for users to find their plugins.

Task-number: QTBUG-74775
Change-Id: Ie2af16c49d4c5aa5a77fab0fae1e0a4449bd7a39
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2019-04-11 14:43:27 +00:00
..
almostplugin Updated license headers 2016-01-21 18:55:18 +00:00
elftest Remove spurious execute permissions 2017-12-08 13:27:42 +00:00
lib Use msvc qmake scope where appropriate 2018-11-22 14:16:52 +00:00
machtest Avoid invalid qmake code in macOS-specific pluginloader test 2018-11-30 14:47:29 +00:00
staticplugin moc: Add a standard way of specifying a URI as part of Q_PLUGIN_METADATA 2019-04-11 14:43:27 +00:00
theplugin moc: Fix compilation of text strings containing non-ASCII 2018-09-10 04:17:03 +00:00
tst QPluginLoader: pave the way for Qt 6 plugin meta data 2018-08-21 23:59:44 +00:00
.gitignore Moving relevant tests to corelib/plugin 2011-09-01 12:42:51 +02:00
empty.json Use new plugin system in plugin autotest. 2012-02-23 16:38:45 +01:00
fakeplugin.cpp Update the Intel copyright year 2016-01-21 22:44:16 +00:00
qpluginloader.pro Merge remote-tracking branch 'origin/5.12' into 5.13 2019-03-06 12:31:50 +01:00
tst_qpluginloader.cpp moc: Add a standard way of specifying a URI as part of Q_PLUGIN_METADATA 2019-04-11 14:43:27 +00:00
utf8_data.json moc: Fix compilation of text strings containing non-ASCII 2018-09-10 04:17:03 +00:00
winrt.pri winrt: cleanup testcases 2016-01-29 13:35:48 +00:00