On 30.11.11 14:09:54, Jason H wrote:
> I have several classes I am wanting to put into Qt Designer. However whenever 
> I use Q_EXPORT_PLUGIN2() I get several errors after the first time I use it.
> In function 'qt_plugin_query_verification_data':
> multiple definition of 'qt_plugin_query_verification_data'
> 
> It seems I can't link all these classes together in a single library?

You can, but you need to export only a single plugin. A single designer
plugin can supply multiple widgets via the collection interface:
http://doc.qt.nokia.com/4.7-snapshot/qdesignercustomwidgetcollectioninterface.html

Andreas

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to