diff --git a/doc/src/portingcppapps_toqt5.qdoc b/doc/src/portingcppapps_toqt5.qdoc index e6f68e50c2ca40ec978bc3d2cf7600496e10147d..e6ea08aa9b64bd1e26f1a149370af192b632667f 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} diff --git a/doc/src/portingguide.qdoc b/doc/src/portingguide.qdoc index 75c52b48561328794d197725d8058a1bd0ebd246..0d124e100dbf416d44b474a8dadf15ef0fba72a3 100644 --- a/doc/src/portingguide.qdoc +++ b/doc/src/portingguide.qdoc @@ -56,6 +56,8 @@ The following list summarizes the changes in Qt 5: Quick (2.0) from now on to avoid binary breaks in the future. \li Qt3Support - This module is removed in Qt 5, so you must move away from this module before porting your codebase to Qt 5. + \li Qt WebKit - This module has been split into two, there is now a \l{Qt WebKit} + and a \l{Qt WebKit Widgets} module. \endlist \section1 Related Topics