Project ERROR: Unknown module(s) in QT: webkitwidgets [duplicate]

心不动则不痛 提交于 2019-12-06 22:20:24

问题


I'm trying to use MXE (with help from this tutorial), and I'm getting this error at the qmake && make step:

Project ERROR: Unknown module(s) in QT: webkitwidgets".

What does this mean and what can I do?


回答1:


As per this similar answer, try installing the corresponding package. Assuming you have a Debian-based system, this is done by entering the following command in a console:

sudo apt-get install libqt5webkit5-dev



回答2:


Unfortunately you're out of luck because recent versions of MXE do not build webkit. Apparently it has symbol conflict with the Qt script library, so the static build is impossible. Use the older MXE version, and don't forget to enable building the webkit in the src/qt.mk file.



来源:https://stackoverflow.com/questions/19415226/project-error-unknown-modules-in-qt-webkitwidgets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!