Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to scale whole app to fit a different divice with high dpi?
Qt 6.11 is out! See what's new in the release blog

How to scale whole app to fit a different divice with high dpi?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 1.9k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I develop a app which target device is a phone with screen size 720X1280 ,the resources like image files are all designed to fit the device , but now the app run in a different device which size is 1080X1920 ,so my app looks so small , I want my whole app scale to fit the new screen but not to edit my source code line by line or change the image size .I use the qt5 , I need help .

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      I need help

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        I need urg help

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          help me

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dbzhang800
            wrote on last edited by
            #5

            Hi, QLayout/Layout is designed for such cases.

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              I know that but I need scale the whole app ,do you know how ?You from China
              [quote author="1+1=2" date="1386748186"]Hi, QLayout/Layout is designed for such cases.[/quote]

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dbzhang800
                wrote on last edited by
                #7

                If you want to scale images, border image should be considered.

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  I know borerimage but it is not what my need ,my require is that scale the whole app ui to a certain size
                  [quote author="1+1=2" date="1386831318"]If you want to scale images, border image should be considered.[/quote]

                  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