ubuntu qt5 error: Unknown module(s) in QT: webkitwidgets解决办法

question: project-error-unknown-modules-in-qt-webkitwidgets-webkit

os: ubuntu16.04 LTS-32bit

qmake version: QMake Version 3.0 Using Qt verson 5.5.1 in /usr/lib.i386-linux-gnu

Answer:

#include <QtWebKitWidgets>
and - with QT += webkit #include <QtWebKit>

if still project-error-unknown-modules-in-qt-webkitwidgets-webkit
then:
check if libqt5webkit is installed
sudo apt-get install libqt5webkit5-dev

posted on 2017-11-09 13:45  新月时刻  阅读(7253)  评论(0编辑  收藏  举报

导航