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

In Scene3D, Qt3D viewport not correctly scaled for Retina/HiDPI displays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.0 RC
    • 5.7.0 Beta
    • Qt3D
    • None
    • Ubuntu 16.04 LTS, x86_64, kernel 4.4.0-18-generic
    • Ibc3d184285a00c61233ce00d0c39f5db2e34ce89

    Description

      Using HiDPI, the content of Scene3D QML element is not correctly scaled, rather it is display at the bottom-left of it and clipped.

      This bug is very easy to reproduce:
      1. Take the example scene3d from qt3d examples
      2. Enable HiDPI in main.cpp:
      QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
      3. Run the example on a HiDPI display, you will see the problem

      This bug seems close to bug QTBUG-45369, but affects Qt Quick embedding Qt3D content rather then C++ embedding Qt3D content.

      Attachments

        Activity

          People

            e0150566 Janne Koskinen
            stephane.magnenat Stéphane Magnenat
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: