I'm new to qt,forgive me if this is a stupid question.
I checked the qt creator source code.And noticed that in the libs/extensionsystem/pluginspec.cpp, it use QPluginLoader to load the dll file.The plugins are subclasses of IPlugin.
I also read the help/tutorial,isn't that we have to use some macros like,Q_EXPORT_PLUGIN2(),Q_INTERFACES() if we want to create application plugins?And if we don't use these macros,the QPluginLoader won't load the dll file,right?
So,in the qtcreator,how does the PluginSpec class enable to load the plugin dll files with QPluginLoader?
Bookmarks