Qt 5 plugins
There is one thing I can not understand
Q_PLUGIN_METADATA need IID for example
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "mystyleplugin.json")
Q_PLUGIN_METADATA(IID "tld.domain.Project.MyPluginInterface" FILE "myplugin.json")
But why IID called like this? How should I call my IID in my project? For what is responsible this name, is it link for something?
The IID must be unique. It's a naming convention that generally ensure that you won't get the same id twice.
Follow the second option to identify your plugin.