Page 1 of 1

WebView based wxWidgets application development

Posted: Wed Sep 05, 2018 3:57 am
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.

Re: WebView based wxWidgets application development

Posted: Wed Sep 05, 2018 5:34 am
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.

Re: WebView based wxWidgets application development

Posted: Wed Sep 05, 2018 7:14 am
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.

Re: WebView based wxWidgets application development

Posted: Wed Sep 05, 2018 8:45 am
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.