Comments (3)
Hi @muffmolch.
QCefView depends on not only QT library but also the CEF library. So now you have got the static QT lib linked with static runtime, you also need to build the libcef_dll_wrapper.lib with static link to runtime libs.
1.Download the CEF binary distributed version from: https://cefbuilds.com/
2.Generate the Visual studio solution files
3 Make sure you build the libcef_dll_wrapper.lib with MT /MTd
4. Copy all the cef output to the dep folder of QCefView solution
5. Change all the configurations of the projects in QCefView solution to MT /MTd
Build it. If no errors. now you should get QCefView.dll this is a DLL with static link to runtime.
Then you can try to change the configuration type of QCefView project to static library.
And then build it again. Good luck!
For sandbox.lib I think this is built by the cefbuild.com, so we don't have the source code. If you really want to use it you need to build CEF totally by yourself (check out chromium project.)
if any problems please let me know.
from qcefview.
Hi @tishion
Thanks. Meanwhile I got it. I just built cef and your lib in with /mt(d). In addition I complied and linked your lib as static lib (removing the decl-call-define). Your example is set up for the qt dll version. Thus I just copied your code into my source tree and after some self written cmake magic I got all needed static libs to get it run...
Thanks
SirAnn
from qcefview.
Cool! That's awsome! But you know I didn't make a good design about the URL schema handler. So if you want to extent this feature you need to revamp it.
Thanks!
On Aug 10, 2016, at 17:42, Sören Textor [email protected] wrote:
Hi @tishion
Thanks. Meanwhile I got it. I just built cef and your lib in with /mt(d). In addition I complied and linked your lib as static lib (removing the decl-call-define). Your example is set up for the qt dll version. Thus I just copied your code into my source tree and after some self written cmake magic I got all needed static libs to get it run...Thanks
SirAnn—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from qcefview.
Related Issues (20)
- 你好,我现在遇到一个mp4的播放问题,cef是支持mp4的,QCefViewTest却不能正常播放 HOT 7
- 无法设置窗口置顶 HOT 1
- 内存释放奔溃问题 HOT 1
- 窗口点击关闭后进程并未退出 HOT 2
- 维护问题 HOT 1
- 我下载的cef版本是cef_binary_86.0.21+g6a2c8e7+chromium-86.0.4240.183_windows64,其中CefFrame中没有LoadString这个函数,导致QCefView编译失败,请问这个函数应该用什么替代呢? HOT 4
- Is linux supported? HOT 1
- CMAKE comfile error HOT 1
- Compile Error: API Deprecated HOT 1
- [Question] Is Off Screen Render supported? HOT 2
- Compile error HOT 3
- Any plan to open ALL CEF settings to user?
- windows版的源码能直接拿到MacOs去使用XCode编译?
- The QCefView window is blank after starting the client
- missing file CefViewBrowserApp/QCefViewDelegate.h HOT 1
- The way to support virtual keyboard in win10 HOT 2
- QT使用的时候如果把窗口隐藏再显示出来内容都不见了
- delete QCefView 后再次使用crash HOT 2
- 偶现broadcastEvent 后, web接收不到消息
- delete QCefView 后再次new 程序退出
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qcefview.