I'm looking for a simple, unified GUI for my C++ projects, that will work on all major desktop and mobile platforms.
I've been using QT for a while, but being impressed by JavaScript, HTML5 and
Chromium, I'd like to use that technology in my projects.
Please, pardon me my naive thoughts, I'm completely new to Chromium and CEF, but here is what I think.
* Chromium is free and open-source, it runs on Windows, Linux, Mac, Android and iOS.
* One can create his own Chromium based project,
add some portable C++ logic and expect that the whole will work on the above mentioned platforms.
* To reduce time, complexity and to improve usability,
the "heavy artillery" can be compiled to binaries,
and an accompanying template project (a wizard) can be created for MSVC, MinGW, XCode.
Thus, a C++ programmer can immediately start work, not distracting for such things
as compiling core, resolving dependencies, managing third-party licenses etc.
* To be usable, a very simple functionality is required and should be offered by the template project:
* Dynamic html and javascript loading from C++
* A very basic data exchange functions, something like
dispatchToCpp(data), onCppDataReceived(data) for JavaScript,
and dispatchToJS(char* data, int length), onJSDataReceived(char*data, int length) for Cpp;
This is how the situation looks for a guy, who sees only the top of the iceberg. I realise, that if
such a framework doesn't yet exist, there must be a reason: technical, legal, or of other kind.
I'd appreciate very much if a professional who knows Chromium, explains that reason, or writes
a short comment about possibility, difficulty or necessity of such a framework. You will save a lot
of time for me and others like me, who otherwise have to make a research to find the answers.
Thanks in advance.