Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Query: How to design single UI binary to support multiple resolutions
Forum Updated to NodeBB v4.3 + New Features

Query: How to design single UI binary to support multiple resolutions

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 317 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.
  • P Offline
    P Offline
    Praveen.Illa
    wrote on last edited by
    #1

    Hi Team,

    Can some one please provide some pointers on the below query.

    I have a embedded targets with different screen resolutions like 480x272 and 1024x600.
    I am developing an UI application in QML.

    1. How can I design a single UI to support both the resolutions ?
    2. Do I have to compile the source with separate resolutions to have a separate binaries for 480x272 and 1024x600 ? or is there a way to support a single binary for both the resolutions ?

    Thank you,
    Praveen

    jsulmJ 1 Reply Last reply
    0
    • P Praveen.Illa

      Hi Team,

      Can some one please provide some pointers on the below query.

      I have a embedded targets with different screen resolutions like 480x272 and 1024x600.
      I am developing an UI application in QML.

      1. How can I design a single UI to support both the resolutions ?
      2. Do I have to compile the source with separate resolutions to have a separate binaries for 480x272 and 1024x600 ? or is there a way to support a single binary for both the resolutions ?

      Thank you,
      Praveen

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Praveen-Illa Use layouts to position and size your items according to window size.
      See https://doc.qt.io/qt-5/qml-qtquick-layouts-layout.html
      https://doc.qt.io/qt-5/qtquicklayouts-index.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Praveen-Illa Use layouts to position and size your items according to window size.
        See https://doc.qt.io/qt-5/qml-qtquick-layouts-layout.html
        https://doc.qt.io/qt-5/qtquicklayouts-index.html

        P Offline
        P Offline
        Praveen.Illa
        wrote on last edited by
        #3

        @jsulm Thank you for your information

        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