Remove K_EXPORT_PLUGIN.
Fix compiler warning of struct vs. class.
Add explicit include of QHash, which is required here.