首页| 论坛| 消息

标题:求教如何把cef嵌入到qt里面
作者:d9ong
日期:2013-05-03 21:59
内容:

请指教。


#1 [XChinux 05-03 22:22]
cef是什么?
#2 [d9ong 05-04 13:14]
cef:Chromium Embedded Framework
官方给了提示,这段代码应该加在哪里合适?
// Create an instance of our CefClient implementation. Various methods in the
// MyClient instance will be called to notify about and customize browser
// behavior.
CefRefPtr client(new MyClient());
// Information about the parent window, client rectangle, etc.
CefWindowInfo info;
info.SetAsChild(...);
// Browser initialization settings.
CefBrowserSettings settings;
// Create the new browser window object asynchronously. This eventually results
// in a call to CefLifeSpanHandler::OnAfterCreated().
CefBrowser::CreateBrowser(info, client, "http://www.google.com", settings);
#3 [shixingya 09-19 11:24]
QCef 可以参考 https://github.com/BBDXF/QCefView_Win

回复 发表
主题 版块