summaryrefslogtreecommitdiffstats
path: root/tests/auto/moc/no-keywords.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-19 13:09:08 +0200
committerKent Hansen <khansen@trolltech.com>2009-08-19 13:09:08 +0200
commitb83f7460e1b95e9cce81eda728a6790d391b4188 (patch)
tree22c02137c38ba144c977c1ff9d8329f565b1f3c6 /tests/auto/moc/no-keywords.h
parent13c5fcb72cbe96f78be9b7cdbadff6012e7b66a3 (diff)
make moc autotest compile without qtscript
Diffstat (limited to 'tests/auto/moc/no-keywords.h')
-rw-r--r--tests/auto/moc/no-keywords.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/moc/no-keywords.h b/tests/auto/moc/no-keywords.h
index f062dffa5b..a7d76e77e4 100644
--- a/tests/auto/moc/no-keywords.h
+++ b/tests/auto/moc/no-keywords.h
@@ -58,7 +58,9 @@
#if defined(WITH_DBUS)
#include <QtDBus>
#endif
+#ifdef QT_SCRIPT_LIB
#include <QtScript>
+#endif
#undef signals
#undef slots