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. Multi-screen display pictures are jagged

Multi-screen display pictures are jagged

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 488 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.
  • E Offline
    E Offline
    elliyu
    wrote on last edited by elliyu
    #1

    Qt5.9 and Qt5.12 HD screen settings:

    QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);

    There are two screens, resolution A: 19201080 B: 19201080,

    1. Scaling ratio: A: 150%, B: 100%, the program shows clear on A, and there is sawtooth on B, as shown in the figure.

      qputenv("QT_SCREEN_SCALE_FACTORS", "1.5;1.0");

    0_1550469507665_f83d32d4-7604-44a5-a23c-46607fe6c4d9-image.png0_1550469605386_1655375e-317a-4e85-9a34-b43f54ef2942-image.png
    2. zoom ratio: A: 100%, B: 150%, the program shows clear on B, shows a sawtooth on A, as shown

     **qputenv("QT_SCREEN_SCALE_FACTORS", "1.0;1.5");**
    

    0_1550470312911_da342007-e12f-4094-a97d-663bab3f5105-image.png
    0_1550470245061_0b023621-ae7c-4ab2-ad91-c5f29ba47d3d-image.png

    Why is there a jagged appearance on the display with a low zoom ratio?

    raven-worxR 1 Reply Last reply
    0
    • E elliyu

      Qt5.9 and Qt5.12 HD screen settings:

      QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);

      There are two screens, resolution A: 19201080 B: 19201080,

      1. Scaling ratio: A: 150%, B: 100%, the program shows clear on A, and there is sawtooth on B, as shown in the figure.

        qputenv("QT_SCREEN_SCALE_FACTORS", "1.5;1.0");

      0_1550469507665_f83d32d4-7604-44a5-a23c-46607fe6c4d9-image.png0_1550469605386_1655375e-317a-4e85-9a34-b43f54ef2942-image.png
      2. zoom ratio: A: 100%, B: 150%, the program shows clear on B, shows a sawtooth on A, as shown

       **qputenv("QT_SCREEN_SCALE_FACTORS", "1.0;1.5");**
      

      0_1550470312911_da342007-e12f-4094-a97d-663bab3f5105-image.png
      0_1550470245061_0b023621-ae7c-4ab2-ad91-c5f29ba47d3d-image.png

      Why is there a jagged appearance on the display with a low zoom ratio?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @elliyu
      QML/QtWidgets?
      If QML, is antialiasing property set to true?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      E 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @elliyu
        QML/QtWidgets?
        If QML, is antialiasing property set to true?

        E Offline
        E Offline
        elliyu
        wrote on last edited by
        #3

        @raven-worx said in Multi-screen display pictures are jagged:

        antialiasing

        not QML

        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