QCefWidget icon indicating copy to clipboard operation
QCefWidget copied to clipboard

A Qt widget that can render and interact with webpage.

Results 12 QCefWidget issues
Sort by recently updated
recently updated
newest added

https://github.com/chromiumembedded/cef/commit/ed39922f85d7059b51f4d8c8b9140741508c9ca9 同步CEF官方修复 鼠标点击数量不正确

TestWnd.cpp(225,46): error C2039: "SkipEmptyParts": 不是 "Qt" 的成员 还有这个 connect(pWidget_->window()->screen(), &QScreen::logicalDotsPerInchChanged, this, &QCefWidgetImpl::onScreenLogicalDotsPerInchChanged);

` void QCefClient::V8Handler::ExecuteRemoveEventListener( const CefString& function, CefRefPtr object, const CefV8ValueList& arguments, CefRefPtr& retval, CefString& exception) { bool bRet = false; if (arguments.size() == 2) { if (arguments[0]->IsString()) { if (arguments[1]->IsFunction())...

你好 可以支持macOS, 和Linux吗? 如果能支持,麻烦编译一份支持 macOS 和Linux libcef (支持 mp4, h264 功能) 感谢~!

enhancement

试了一下大佬的项目输入本地web服务的three.js可以正常的打开 不知道可不可以进行交互

创建浏览器窗口的代码: `myCef::myCef(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); //关联事件 connect(ui.btn_go, &QPushButton::clicked, this, &myCef::btn_go_clicked); //初始化CEF pCefWnd = new CefWnd(false, false); connect(pCefWnd, &QWidget::destroyed, this, &myCef::onCefWndDestroyed);//销毁浏览器 pCefWnd->setUsingGLWidget(true);//启用opengl pCefWnd->setOsrEnabled(true);//离屏渲染 pCefWnd->setContextMenuEnabled(true);//右键菜单 pCefWnd->setUsingHideInsteadClose(false);//隐藏代替u绀碧 pCefWnd->setAutoAddDevToolsContextMenu(true);//检查元素右键菜单 pCefWnd->setAllowExecuteUnknownProtocolViaOS(true);//设置允许执行未知协议 pCefWnd->setMaximumFps(30);//设置最大帧率 //pCefWnd->setWindowBkColor(winBkColor);//设置窗口背景色...

Chromium 90+的版本将devtools_resources.pak合并至resources.pak中,因此更改devToolsResourceExist的相应判断。

Sample code: ``` MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); m_pCefWidget1 = new QCefWidget("https://www.baidu.com"); m_pCefWidget2 = new QCefWidget("https://www.baidu.com"); m_pCefWidget1->setAutoDestoryCefWhenCloseEvent(true); m_pCefWidget2->setAutoDestoryCefWhenCloseEvent(true); } MainWindow::~MainWindow() { delete m_pCefWidget1; delete m_pCefWidget2; } ``` The app...

在debug模式下在输入框切换输入法,会断言崩溃

In QWidgetTest project, I open a webview; then I change the address in main window, the webview will take focus automatically Can I disable this feature?