QtWebKit renamed to QtWebKitWidgets

This commit is contained in:
Matthew Horan 2013-01-06 22:05:41 -05:00
parent 0faed27472
commit 34900df562
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,10 @@
#ifndef _WEBPAGE_H
#define _WEBPAGE_H
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
#include <QtWebKitWidgets>
#else
#include <QtWebKit>
#endif
#include <QtNetwork>
class WebPageManager;

View File

@ -127,7 +127,12 @@ SOURCES = \
FindXpath.cpp
RESOURCES = webkit_server.qrc
QT += network webkit
QT += network webkitwidgets
greaterThan(QT_MAJOR_VERSION, 4) {
QT += webkitwidgets
} else {
QT += webkit
}
CONFIG += console
CONFIG -= app_bundle