I am porting code from qt4 to qt5. I added the following line to my .pro file, as suggested:
.pro
QT += webkitwidgets
However, when
I got it to work by copying the webkit and webkitwidgets pri files from a previous installation, 5.5.
~/Qt/5.5/clang_64/mkspecs/modules/