Important: Please read the Qt Code of Conduct -

set VNC display size on qt5

  • hi,I am using the qt5.8 whit the vnc plugin,but how i set the display size,thanks

  • Hi an welcome to the Qt Forums,

    Could you show some code? What have you tried already?


  • Hi @fengwuxxx ,

    When launching your application you should be able to provide some parameters like the size .
    For instance on embedded platform (Linux) you can do this :

    ./hellogl2 -platform vnc:size=272x480

    with 272 as your width and 480 as your height

    I don't know how it works on PC but i think you should be able to do the same in a certain way.

Log in to reply