Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77445

Trying change DPI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.12.4
    • GUI: Font handling
    • None
    • Windows 10 1903
    • Windows

    Description

      I lead a project, recently bought a laptop to work outside the house, today I tried to compile my project there and was very surprised to see there:

      [Notebook]

      [PC]

      PC: 1920x1080
      scaling: 100%
      23 inch

      Notebook: 1920x1080
      scaling: 150%
      13.3 inch

      I know that the problem needs to be solved as through autoscaling, but alas I do not understand how to do it. Thanks for your help.

      Then I tried to solve the problem through:

      QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
      

      It turned unreadable window:

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            supp Mihail Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes