WebView based wxWidgets application development

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Anil8753
Experienced Solver
Experienced Solver
Posts: 93
Joined: Sat Jan 16, 2016 5:57 am
Location: India

WebView based wxWidgets application development

Post by Anil8753 »

Hi,
I have a huge wxWidgets 3.1 application that runs on both Windows and MacOS. Going forward, I am planning to implement any new UI with HTML/CSS/JS with WebView and backend will be, as usual, C++ layer.

I looked into the CEF3 integration with wxWidgets, found it complex especially under macOS also 100MB size of binaries. Managing the CEF message loop with the wxWidgets message loop also a performance hit.
wxWebView is good but IE backend (even it is IE11) performs poorly when it comes to HTML5 features like SSE, WebSockets and many other CSS properties.

Recently I found http://www.kirix.com/labs/wxwebconnect.html
I am sure I can rely on wxWebConnect. Also, I am not sure if it is free or paid?

If someone has done similar in the past, his experience can help me a lot.

Thank you.
User avatar
doublemax
Moderator
Moderator
Posts: 19158
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: WebView based wxWidgets application development

Post by doublemax »

There is also an Edge backend for wxWebView:
https://github.com/wxWidgets/wxWidgets/pull/807

There are quite a few features still missing, but in general it works fine.

I'm not sure, but wxWebConnect looks like an abandoned project to me. The files in the source archive are from 2013.
Use the source, Luke!
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: WebView based wxWidgets application development

Post by PB »

I believe this is is the most current fusion of wxWidgets and Chromium, I do not know what still prevents it from merging into into the master:
https://github.com/wxWidgets/wxWidgets/pull/706

In addition to what doublemax wrote about wxWebConnector project being abandoned, it seems that it was using Mozilla's XUL which AFAIK was also is not supported by Firefox for some time now.
Anil8753
Experienced Solver
Experienced Solver
Posts: 93
Joined: Sat Jan 16, 2016 5:57 am
Location: India

Re: WebView based wxWidgets application development

Post by Anil8753 »

https://github.com/wxWidgets/wxWidgets/pull/807 is nice but it will run on Windows10 only. I have to run my application on WIndow7, 8, 8.1, and MacOS > 10.11.

https://github.com/wxWidgets/wxWidgets/pull/706 will be my last option if I do not find any other way. ~100MB size and multiprocess architecture is the issue for me to use the CEF3.
Post Reply