summaryrefslogtreecommitdiffstats
path: root/tests/auto/moc/no-keywords.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-19 11:09:08 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-19 11:09:08 (GMT)
commitb83f7460e1b95e9cce81eda728a6790d391b4188 (patch)
tree22c02137c38ba144c977c1ff9d8329f565b1f3c6 /tests/auto/moc/no-keywords.h
parent13c5fcb72cbe96f78be9b7cdbadff6012e7b66a3 (diff)
downloadQt-b83f7460e1b95e9cce81eda728a6790d391b4188.zip
Qt-b83f7460e1b95e9cce81eda728a6790d391b4188.tar.gz
Qt-b83f7460e1b95e9cce81eda728a6790d391b4188.tar.bz2
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 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