Giter Site home page Giter Site logo

Comments (3)

tishion avatar tishion commented on August 16, 2024

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.

muffmolch avatar muffmolch commented on August 16, 2024

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.

tishion avatar tishion commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.