Are mediocre C++ devs that much more expensive and rare than mediocre web-devs? Certainly in the field I work in (civil engineering) you're probably far more likely to run across someone who can cobble together a simple GUI tool in C++ than you are someone who could cobble together the same thing in Electron.
I'm pretty confident that this is not the case.
There may be a huge amount of legacy software still based on Qt, but new stuff? Only if it is performance critical.
I mean, who wants to pay a C++ dev for something a web-dev can do?