From 3b0a9dbfa3683bfb6bdc484ed225267ca56bfa9b Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Fri, 15 Jan 2010 14:01:30 +1000 Subject: Remove unnecessary webkit dependency --- tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp | 10 ---------- tests/auto/declarative/xmlhttprequest/xmlhttprequest.pro | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp b/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp index 6e0d582..d3201e2 100644 --- a/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp +++ b/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp @@ -43,8 +43,6 @@ #include #include #include -#include -#include #include #include "testhttpserver.h" @@ -118,14 +116,6 @@ private: QmlEngine engine; }; -class QWebPageWithJavaScriptConsoleMessages : public QWebPage { -public: - void javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) - { - qWarning() << sourceID << ":" << lineNumber << ":" << message; - } -}; - inline QUrl TEST_FILE(const QString &filename) { return QUrl::fromLocalFile(QLatin1String(SRCDIR) + QLatin1String("/data/") + filename); diff --git a/tests/auto/declarative/xmlhttprequest/xmlhttprequest.pro b/tests/auto/declarative/xmlhttprequest/xmlhttprequest.pro index 6af4e39..1da28e5 100644 --- a/tests/auto/declarative/xmlhttprequest/xmlhttprequest.pro +++ b/tests/auto/declarative/xmlhttprequest/xmlhttprequest.pro @@ -1,5 +1,5 @@ load(qttest_p4) -contains(QT_CONFIG,declarative): QT += declarative webkit network +contains(QT_CONFIG,declarative): QT += declarative network macx:CONFIG -= app_bundle INCLUDEPATH += ../shared/ -- cgit v0.12