multiple exported interfaces in one plugin - how to?
It is stated in the documentation for Q_EXPORT_PLUGIN2 macro:
Quote:
There should be exactly one occurrence of this macro in the source code for a Qt plugin
.
My questions are:
1. Is it possible to export more then one class in a single plugin?
2. If yes then how it should be done?
Thanks.
Re: multiple exported interfaces in one plugin - how to?
You can export a plugin that will be an interface to more than one class. QDesignerCustomWidgetCollectionInterface is an example of such approach.