You can export a plugin that will be an interface to more than one class. QDesignerCustomWidgetCollectionInterface is an example of such approach.