summaryrefslogtreecommitdiffstats
path: root/tests/auto/moc
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-05-13 11:11:55 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-13 11:11:55 +0200
commitbcc7ddff9f9a6cccc6425133140d9781abf32059 (patch)
treec5488460bd781d7d63f1c5c16216842b9738b205 /tests/auto/moc
parent305577936dc880e80615e3c797a5a028e4b7c27f (diff)
tst_moc: remove QtSvg dependency
The test for no keyword of every header should be done by the tst_CompilerWarnings test
Diffstat (limited to 'tests/auto/moc')
-rw-r--r--tests/auto/moc/moc.pro2
-rw-r--r--tests/auto/moc/no-keywords.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/moc/moc.pro b/tests/auto/moc/moc.pro
index 4fb9ac4f5a..e150d37619 100644
--- a/tests/auto/moc/moc.pro
+++ b/tests/auto/moc/moc.pro
@@ -20,7 +20,7 @@ HEADERS += using-namespaces.h no-keywords.h task87883.h c-comments.h backslash-n
if(*-g++*|*-icc*|*-clang|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h
SOURCES += tst_moc.cpp
-QT += sql network svg
+QT += sql network
contains(QT_CONFIG, script): QT += script
contains(QT_CONFIG, qt3support): QT += qt3support
contains(QT_CONFIG, dbus){
diff --git a/tests/auto/moc/no-keywords.h b/tests/auto/moc/no-keywords.h
index 06e2006669..1ebc4062c2 100644
--- a/tests/auto/moc/no-keywords.h
+++ b/tests/auto/moc/no-keywords.h
@@ -51,7 +51,7 @@
#include <QtCore>
#include <QtNetwork/QtNetwork>
#include <QtSql/QtSql>
-#include <QtSvg>
+//#include <QtSvg>
#if defined(QT3_SUPPORT)
#include <Qt3Support>
#endif