项目ERROR:QT:webkitwidgets中的未知模块 [英] Project ERROR: Unknown module(s) in QT: webkitwidgets
本文介绍了项目ERROR:QT:webkitwidgets中的未知模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将代码从qt4移植到qt5。我将以下行添加到我的 .pro
文件,建议< a>:
I am porting code from qt4 to qt5. I added the following line to my .pro
file, as suggested:
QT += webkitwidgets
但是,当我运行 qmake
时,我得到这个错误:
However, when I run qmake
, I get the this error:
Project ERROR: Unknown module(s) in QT: webkitwidgets
I am developing on Ubuntu 12.04 LTS and installed Qt as described.
推荐答案
您需要安装webkitwidgets库。
You need to install the webkitwidgets library.
在Ubuntu上,在终端中尝试一下:
On Ubuntu, try this in a terminal:
sudo apt-get install libqt5webkit5-dev
这篇关于项目ERROR:QT:webkitwidgets中的未知模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文