aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/HelpWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/HelpWindow.h')
-rw-r--r--src/modules/help/HelpWindow.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/help/HelpWindow.h b/src/modules/help/HelpWindow.h
index cb7d4c62e..29e6a3dea 100644
--- a/src/modules/help/HelpWindow.h
+++ b/src/modules/help/HelpWindow.h
@@ -32,9 +32,13 @@
#include <QTabWidget>
#ifdef COMPILE_WEBKIT_SUPPORT
-#include <QtWebKit/QWebView>
+ #if (QT_VERSION < 0x050000)
+ #include <QtWebKit/QWebView>
+ #else
+ #include <QtWebKitWidgets/QWebView>
+ #endif
#else
-class QTextBrowser;
+ class QTextBrowser;
#endif
#include <QLineEdit>