summaryrefslogtreecommitdiffstats
path: root/src/plugins/script/qtdbus/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/script/qtdbus/main.h')
-rw-r--r--src/plugins/script/qtdbus/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/script/qtdbus/main.h b/src/plugins/script/qtdbus/main.h
index 8544247..bc2d8a3 100644
--- a/src/plugins/script/qtdbus/main.h
+++ b/src/plugins/script/qtdbus/main.h
@@ -46,6 +46,8 @@
#include <QtScript/qscriptable.h>
#include <QtScript/qscriptengine.h>
+#ifndef QT_NO_DBUS
+
class QDBusConnectionConstructor : public QObject,
public QScriptable
{
@@ -173,4 +175,5 @@ private:
QScriptValue proto;
};
+#endif // QT_NO_DBUS
#endif // QDBUSBINDING_H