summaryrefslogtreecommitdiff
path: root/doc/src/portingcppapps_toqt5.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/portingcppapps_toqt5.qdoc')
-rw-r--r--doc/src/portingcppapps_toqt5.qdoc9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/portingcppapps_toqt5.qdoc b/doc/src/portingcppapps_toqt5.qdoc
index e6f68e50..e6ea08aa 100644
--- a/doc/src/portingcppapps_toqt5.qdoc
+++ b/doc/src/portingcppapps_toqt5.qdoc
@@ -46,6 +46,15 @@ This creates the \c animatedtiles executable. Try running the executable to see
\image animatedtiles_snapshot.png "A snapshot of the \c animatedtiles application running on Ubuntu v12.04"
+A similar change is needed for porting Qt 4 applications using Qt WebKit to Qt 5. The following
+step-by-step instructions take you through the changes required to achieve this:
+
+\list 1
+ \li If using \c {#include <QtWebKit>}, add \c {#include <QtWebKitWidgets} in your source code.
+ \li Edit the pro file and add \c {QT += webkitwidgets} towards the end of the file.
+ \li Run qmake and make utilities to build the binary.
+\endlist
+
\section1 Related topics
\list
\li \l {API Changes}