The QPluginLoader overload is only intended for very specific usecases where you have the plugin loader object anyways.