Must every custom widget plugin in QtDesigner be a separate shared library or can they be grouped into a single shared library? I appear to be getting a conflict with the Q_EXPORT_PLUGIN2 macro.

I know the widgets themselves can be collected into one library but am asking about their designer plugins.