Add Q_OBJECT macro IAssetTypeFactory and NullAssetFactory.