aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/HelpWidget.h
diff options
context:
space:
mode:
authorGravatar Fabio Bas2012-10-31 18:44:24 +0000
committerGravatar Fabio Bas2012-10-31 18:44:24 +0000
commit0e33f73fbff89fa8b5d0b3336e4642559ac153d3 (patch)
tree5a038197a46b0f379193d3e62edee3bdb40f12ed /src/modules/help/HelpWidget.h
parent- update KviOsInfo with values from the winsdk8 (diff)
downloadKVIrc-0e33f73fbff89fa8b5d0b3336e4642559ac153d3.tar.gz
KVIrc-0e33f73fbff89fa8b5d0b3336e4642559ac153d3.tar.bz2
KVIrc-0e33f73fbff89fa8b5d0b3336e4642559ac153d3.zip
Fixed compilation with recent qt5 snapshots:
* QWebKit has been renamed to QWebKitWidgets * QCleanlooksStyle is not included by default, use QFusionStyle instead This breaks compatibility with qt5-beta1, but beta2 should be right around the corner git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6280 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help/HelpWidget.h')
-rw-r--r--src/modules/help/HelpWidget.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/modules/help/HelpWidget.h b/src/modules/help/HelpWidget.h
index 748a9d6e9..43d8e8ccc 100644
--- a/src/modules/help/HelpWidget.h
+++ b/src/modules/help/HelpWidget.h
@@ -28,12 +28,16 @@
#include "kvi_settings.h"
#ifdef COMPILE_WEBKIT_SUPPORT
-#include <QtWebKit/QWebView>
-#include <QToolBar>
-#include <QVBoxLayout>
+ #if (QT_VERSION < 0x050000)
+ #include <QtWebKit/QWebView>
+ #else
+ #include <QtWebKitWidgets/QWebView>
+ #endif
+ #include <QToolBar>
+ #include <QVBoxLayout>
#else
-#include "KviTalHBox.h"
-#include <QTextBrowser>
+ #include "KviTalHBox.h"
+ #include <QTextBrowser>
#endif
#include <QProgressBar>