Important: Please read the Qt Code of Conduct -

Composite Display Resolution

  • Hi All,

    I am having difficulty with the resolution in my QML application when I deploy to the Pi. I have set the /boot/config.txt to the resolution of my screen (480x272) but there is always a white boarder around the application and I can't remove it. I had this same issue when I was outputting to a 1280x1024 monitor through the Pi but figured it was due to the resolution being so much higher than my graphics size. Has anyone else experienced something like this? Is there another configuration setting I have missed in Qt or is it something on the Pi?

    I have added:

    export QT_QPA_EGLFS_DEPTH=32@

    to my ~/.bashrc file on the pi but this only seems to affect my font size.



  • I was able to solve it by adjusting the overscan settings in the /boot/config.txt and my app's dimensions with a scale factor for x and y. I'm not totally sure that was completely the right solution but it worked.

Log in to reply