Hi,
It’s not possible to embed a GLviewer in Qt. The given recipe is only valid for TCanvas. The only alternative is to use a Qt WebEngine together with JSROOT (see for example tracks and hits combined with ALICE detector). I’m sure @linev can give you more technical details about the Qt WebEngine