[Interest] QPluginLoader and IID

Andy asmaloney at gmail.com
Mon Apr 1 16:29:29 CEST 2019


Is the IID from the QPluginLoader's meta data part of the public API? i.e.
can I rely on it being there (assuming a valid plugin) and use it in my
code?

https://doc.qt.io/qt-5/qtplugin.html#Q_PLUGIN_METADATA

It's not documented as either "private don't use this" or available
directly from the plugin loader through the C++ API, but I can get it
through metaData().

I want a unique ID for a plugin and thought this would be a good candidate
rather than adding my own. Good idea? Bad idea?

Thanks.

---
Andy Maloney  //  https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190401/0ba1c0af/attachment.html>


More information about the Interest mailing list