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