Isn't this needed for Qt5?  Also missing Q_PLUGIN_METADATA()