未知模块 QT:webkit
Unknown module QT: webkit
我正在尝试在 Qt 5.6 中制作一个简单的 webview
在我的 .pro 文件中我有
QT += webkitwidgets
我有这个错误:
:-1: error: Unknown module(s) in QT: webkitwidgets
从 Qt 5.6 开始,Qt WebKit 被删除:
https://wiki.qt.io/New_Features_in_Qt_5.6
With Qt 5.6 the following modules are no longer part of the release packages, but users can still build them from source: Qt WebKit
因此,如果您仍想使用 WebKit,则需要 5.5 或更早版本,或者您需要从源代码构建自己的版本。
我正在尝试在 Qt 5.6 中制作一个简单的 webview
在我的 .pro 文件中我有
QT += webkitwidgets
我有这个错误:
:-1: error: Unknown module(s) in QT: webkitwidgets
从 Qt 5.6 开始,Qt WebKit 被删除:
https://wiki.qt.io/New_Features_in_Qt_5.6
With Qt 5.6 the following modules are no longer part of the release packages, but users can still build them from source: Qt WebKit
因此,如果您仍想使用 WebKit,则需要 5.5 或更早版本,或者您需要从源代码构建自己的版本。