summaryrefslogtreecommitdiffstats
path: root/tests/auto/moc/no-keywords.h
diff options
context:
space:
mode:
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 f062dff..a7d76e7 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