使用说明
- 工程文件
QT += webenginewidgets
- 源代码
#include <QWebEngineView>
QWebEngineView* view;
view = new QWebEngineView(this);
view->load(QUrl("http://www.baidu.com/"));
view->show();
2023-10-11 21:25:40
QT += webenginewidgets
#include <QWebEngineView>
QWebEngineView* view;
view = new QWebEngineView(this);
view->load(QUrl("http://www.baidu.com/"));
view->show();