I think the name you put into the Q_EXPORT_PLUGIN2 macro is wrong.