summaryrefslogtreecommitdiffstats
path: root/src/multimedia/base/qmediapluginloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/base/qmediapluginloader.cpp')
-rw-r--r--src/multimedia/base/qmediapluginloader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/base/qmediapluginloader.cpp b/src/multimedia/base/qmediapluginloader.cpp
index 24c5aba..eaf6218 100644
--- a/src/multimedia/base/qmediapluginloader.cpp
+++ b/src/multimedia/base/qmediapluginloader.cpp
@@ -98,6 +98,7 @@ void QMediaPluginLoader::load()
}
}
} else {
+#ifndef QT_NO_LIBRARY
QStringList paths = QCoreApplication::libraryPaths();
foreach (QString const &path, paths) {
@@ -126,6 +127,7 @@ void QMediaPluginLoader::load()
loader.unload();
}
}
+#endif
}
}