Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Select full-screen resolution of Qt5 app without window manager
QtWS25 Last Chance

Select full-screen resolution of Qt5 app without window manager

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 3.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jeroen94704
    wrote on last edited by
    #1

    When I run a Qt app build using Qt5 in a non-X Linux environment (in my case on a Raspberry Pi), how do I select which resolution the app runs at? If I do nothing, the app runs at full resolution, which is 1080p. But the app was developed for a lower resolution, and the layout gets messed up at such a high res.

    How can I set it to something lower (800x600, in my case)?

    Thanks in advance,

    Jeroen

    1 Reply Last reply
    0
    • E Offline
      E Offline
      einarmar
      wrote on last edited by
      #2

      Hi jeroen, have you had any feedback outside this board ? or maybe solved it yourself ?

      regards
      Einar

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jeroen94704
        wrote on last edited by
        #3

        Hi einarmar,

        I am no longer working on that project, and we never got around to fixing that. Thinking about it now, in the meantime I learned how to change the resolution for the Raspberry pi. If that is the platform you are working on, you can force a specific video-mode/resolution by adding the hdmi_group and hdmi_mode to the config.txt file on the SD card. I suspect that will make the Qt application switch to the lower resolution as well.

        Jeroen

        1 Reply Last reply
        0
        • E Offline
          E Offline
          einarmar
          wrote on last edited by
          #4

          Hi Jeroen, thank you for this reponse.
          I'm currently just working on getting Qt5 to run on an embedded i386 target.
          I have been using the examples that Qt5 provides and I managed to change the size of the window in the code.

          regards
          Einar

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved