Viewport fills only quarter of window


I am just getting started with Geant4 and have managed to get exampleB1 running. However, in the OpenGL viewer only a quarter of the screen is filled (see screenshot). I guess the problem lies in that I’m using a display where pixel dimensions are not the same as the viewport dimensions, see this. If this is the case I would like to change it but I have no idea where and how. Any help is most welcome!

Found the problem. They implemented support for scaled displays in Qt5 which was installed but not found by cmake. Installed geant4 again and manually added the qt5 folder and now everything works.