You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PayloadAPP/cwebengineview.h

22 lines
430 B
C

8 months ago
#ifndef CWEBENGINEVIEW_H
#define CWEBENGINEVIEW_H
#include <QWebEngineView>
class QWidget;
class CWebEngineView : public QWebEngineView
{
Q_OBJECT
public:
CWebEngineView(QWidget* parent = nullptr);
~CWebEngineView();
protected:
// 解决错误qt No RenderWidgetHost exists with id 10 in process 3
virtual QWebEngineView* createWindow(QWebEnginePage::WebWindowType type);
};
#endif // CWEBENGINEVIEW_H