I have no experience with either of these. I read this as "that framework which makes native applications for most major platforms now targets the web browser".
If the above is even 2/3rds what happens, what stops QT from taking over all multi-platform targeted applications "one to rule them all" style?
> what stops QT from taking over all multi-platform targeted applications
The fact that Electron is much better. I know this in a highly unpopular opinion here. I've programmed in them all (MFC/wxWidgets/QT/WinForms/WPF) and HTML/CSS/JS is just so much easier.
Try writing something as simple as a dialog in Qt. It all makes sense, you subclass a QDialog, instantiate it and show it.
Try doing that in pure HTML/CSS/JS, you're basically left with a clusterfuck. There's piles and piles of libraries built to workaround this clusterfuck from Bootstrap to react-modal and even the best of them have worse APIs for this than Qt does.
Ultimately, drawing widgets just makes more sense for desktop applications than trying to hack document-oriented HTML to be a usable UI framework.
Don't get me started on layouts...
Hello world
OK
let dialog = document.querySelector('dialog');
dialog.querySelector('button').addEventListener('click', () => dialog.close());
dialog.showModal();
cool... then now make it work for ie. and mobiles. and... everything else other than the betas of chrome and firefox