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

QT_SCALE_FACTOR not work on Mac book Pro M2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.15.7, 5.15.15
    • GUI: High-DPI
    • None
    • macOS

    Description

      Hi,

      I built an application with 1920*1080 resolution on Windows.  it works well

      When I run it on MacBook Pro M2, the window size isn't right resolution, look like 1440*700

      Then I add QT_SCALE_FACTOR environment  to scale 0.5 ratio on it, it didn't work.

      I checked the Screen::name(), and the value is null, maybe this is the reason.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            haipeng.yu Haipeng Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes