QtWebKit renamed to QtWebKitWidgets
This commit is contained in:
parent
0faed27472
commit
34900df562
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue