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/Src/WebPage/cwebengineview.h

21 lines
420 B
C

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