Skip to content
  • Jonathan Marten's avatar
    Search all possible locations for plugins · 59ad7f49
    Jonathan Marten authored
    QLibraryInfo::location(QLibraryInfo::PluginsPath) only returns the
    plugin path for the Qt installation.  However, the encoder plugins
    may have been installed elsewhere and located using the QT_PLUGIN_PATH
    environment variable, in addition to as the Qt installation location.
    Any plugins located elsewhere will not be found, resulting in an
    assert in encoderFromExtension() when the AudioCDProtocol is constructed.
    
    Look for plugins in all possible locations returned by
    QCoreApplication::libraryPaths() instead.
    59ad7f49