Won't run and compile with qt5. #178
@ -2,7 +2,11 @@
|
|||||||
#define JHW_PAGE
|
#define JHW_PAGE
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||||
|
#include <QtWebKitWidgets>
|
||||||
|
#else
|
||||||
#include <QtWebKit>
|
#include <QtWebKit>
|
||||||
|
#endif
|
||||||
|
|
||||||
class Page: public QWebPage {
|
class Page: public QWebPage {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
#define JHW_RUNNER
|
#define JHW_RUNNER
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||||
|
#include <QtWebKitWidgets>
|
||||||
|
#else
|
||||||
#include <QtWebKit>
|
#include <QtWebKit>
|
||||||
|
#endif
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
Loading…
Reference in New Issue
Block a user