summaryrefslogtreecommitdiffstats
path: root/src/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia')
-rw-r--r--src/multimedia/mediaservices/base/qmediapluginloader.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/multimedia/mediaservices/base/qmediapluginloader.cpp b/src/multimedia/mediaservices/base/qmediapluginloader.cpp
index d6da0ba..8b0ddf4 100644
--- a/src/multimedia/mediaservices/base/qmediapluginloader.cpp
+++ b/src/multimedia/mediaservices/base/qmediapluginloader.cpp
@@ -108,7 +108,11 @@ void QMediaPluginLoader::load()
if (!pluginDir.exists())
continue;
- foreach (QString pluginLib, pluginDir.entryList(QDir::Files)) {
+ foreach (const QString &pluginLib, pluginDir.entryList(QDir::Files)) {
+#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
+ if (pluginLib.endsWith(QLatin1String(".debug")))
+ continue;
+#endif
QPluginLoader loader(pluginPathName + pluginLib);
QObject *o = loader.instance();