While trying to fix a build issue with 3.2.1 I discovered that the Q_EXPORT_PLUGIN(ClassName) macro is now obsolete.
Patch attached to use the correct replacement,
Note that the macro Q_EXPORT_STATIC_PLUGIN(ClassName) is still the correct one for building the static plugin - I haven't just missed it :-)
Steps to reproduce:
Read more at http://www.xtuple.org/mantis/view.php?id=8453