If the team doesn't care about performance, they will just as easily create a low-performing application in C++/Qt as they would with Javascript/Electron. The problem isn't mainly technical, but cultural/organizational (for instance chasing new features instead of improving existing code).