properly export plugins

automoc needs visibility over the plugin export
KTempDir -> QTemporaryDir