I am porting code from qt4 to qt5. I added the following line to my .pro file, as suggested:
.pro
QT += webkitwidgets
However, when
What works for me is the combination of two answers, I used what @user1251007 suggested + this command
sudo apt-get install libqt5websockets5-dev
find this command line here : link to the stackoverflow response