summaryrefslogtreecommitdiffstats
path: root/src/feedback/qfeedbackpluginsearch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/feedback/qfeedbackpluginsearch.h')
-rw-r--r--src/feedback/qfeedbackpluginsearch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/feedback/qfeedbackpluginsearch.h b/src/feedback/qfeedbackpluginsearch.h
index c2699e2..2b946d0 100644
--- a/src/feedback/qfeedbackpluginsearch.h
+++ b/src/feedback/qfeedbackpluginsearch.h
@@ -47,6 +47,7 @@ QT_BEGIN_NAMESPACE
inline QStringList getPluginPaths(const QString& plugintype)
{
+#if QT_CONFIG(library)
#if !defined QT_NO_DEBUG
const bool showDebug = qgetenv("QT_DEBUG_PLUGINS").toInt() > 0;
#endif
@@ -106,6 +107,10 @@ inline QStringList getPluginPaths(const QString& plugintype)
}
return plugins;
+#else
+ Q_UNUSED(plugintype)
+ return QStringList();
+#endif
}
QT_END_NAMESPACE