summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2011-05-02 09:23:47 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-05-02 09:23:47 (GMT)
commiteb61f612fea1b76fe01ee237e5bd160f66aeca3d (patch)
tree8fbbf04cc47aa4c2dc81de0d72e72d4a8ae98c8c /src/declarative/debugger
parent167044693cc1d16684a5732b05e3926d0af61960 (diff)
downloadQt-eb61f612fea1b76fe01ee237e5bd160f66aeca3d.zip
Qt-eb61f612fea1b76fe01ee237e5bd160f66aeca3d.tar.gz
Qt-eb61f612fea1b76fe01ee237e5bd160f66aeca3d.tar.bz2
Fix compilation with QT_NO_*
Merge-request: 1206 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/declarative/debugger')
-rw-r--r--src/declarative/debugger/qdeclarativedebugserver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugserver.cpp b/src/declarative/debugger/qdeclarativedebugserver.cpp
index c7bdcb6..5112af0 100644
--- a/src/declarative/debugger/qdeclarativedebugserver.cpp
+++ b/src/declarative/debugger/qdeclarativedebugserver.cpp
@@ -116,6 +116,7 @@ void QDeclarativeDebugServerPrivate::advertisePlugins()
QDeclarativeDebugServerConnection *QDeclarativeDebugServerPrivate::loadConnectionPlugin(
const QString &pluginName)
{
+#ifndef QT_NO_LIBRARY
QStringList pluginCandidates;
const QStringList paths = QCoreApplication::libraryPaths();
foreach (const QString &libPath, paths) {
@@ -142,6 +143,7 @@ QDeclarativeDebugServerConnection *QDeclarativeDebugServerPrivate::loadConnectio
return connection;
loader.unload();
}
+#endif
return 0;
}