Project ERROR: Unknown module(s) in QT: webkitwidg

2019-04-24 10:18发布

This question already has an answer here:

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?

2条回答
做个烂人
2楼-- · 2019-04-24 10:43

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
查看更多
萌系小妹纸
3楼-- · 2019-04-24 10:49

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.

查看更多
登录 后发表回答