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. qml android dpi Control the problem of adaptation
Qt 6.11 is out! See what's new in the release blog

qml android dpi Control the problem of adaptation

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 1.3k Views 1 Watching
  • 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.
  • X Offline
    X Offline
    xueke
    wrote on last edited by
    #1

    The PC dpi is low, the android dpi is very high, and the size of the PC display is different from the android display. How can you show the same effect?

    Venkatesh VV D 2 Replies Last reply
    0
    • X xueke

      The PC dpi is low, the android dpi is very high, and the size of the PC display is different from the android display. How can you show the same effect?

      Venkatesh VV Offline
      Venkatesh VV Offline
      Venkatesh V
      wrote on last edited by
      #2

      @xueke
      Hi
      for this you have to calculate the size based on screen resolution and set the size to widget . there is no direct method to set the size.

      1 Reply Last reply
      0
      • X xueke

        The PC dpi is low, the android dpi is very high, and the size of the PC display is different from the android display. How can you show the same effect?

        D Offline
        D Offline
        Devopia53
        wrote on last edited by Devopia53
        #3

        @xueke

        It will be helpful to read this doc1 and doc2.

        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