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

[Windows] When using Parallels on OS X to host Windows then Qt does not display properly on a retina display

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.4.1
    • QPA: Windows
    • Windows on OS X via Parallels
    • macOS

    Description

      [Windows] When using Parallels on OS X to host Windows then Qt does not display properly on a retina display. Initially it does not detect that it is on a HiDpi display so everything is displayed at a device pixel ratio of 1.0.

      If this is worked around by setting it to 2.0 (or preferably auto) via QT_DEVICE_PIXEL_RATIO then it generally works fine except there is some truncation with comboboxes, radiobuttons, checkboxes and spinboxes.

      Windowsstyle and Fusion style are fine in this regard. Attached are some screenshots to illustrate the issue.

      Attachments

        1. checkbox and combobox issues.png
          43 kB
          Andy Shaw
        2. check box and radio button issues.png
          22 kB
          Andy Shaw
        3. spinboxes example.png
          63 kB
          Andy Shaw
        4. with DPI not set.rtf
          5 kB
          Will Stokes
        5. with DPI set to 2.rtf
          5 kB
          Will Stokes
        6. with DPI set to auto.rtf
          5 kB
          Will Stokes
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes