← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1610208] [NEW] Migrate to new QT_SCALE_FACTOR in Qt 5.6

 

Public bug reported:

Qt 5.6 supersedes QT_DEVICE_PIXEL_RATIO with three variables:
- QT_SCALE_FACTOR, which works the same way.
- QTSCREEN_SCALE_FACTORS, which lists values per monitor.
- QT_AUTO_SCREEN_SCALE_FACTOR, which automatically picks a value for each monitor.

Documentation needs to take these new variables into account and we need
to start using the new variables where applicable (the old one still
works, but triggers warnings with Qt 5.6).

Note: tests/unit/units have failures with Qt 5.6.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Critical
     Assignee: Christian Dywan (kalikiana)
         Status: Confirmed


** Tags: qt5.6

** Tags added: qt5.6

** Description changed:

  Qt 5.6 supersedes QT_DEVICE_PIXEL_RATIO with three variables:
  - QT_SCALE_FACTOR, which works the same way.
  - QTSCREEN_SCALE_FACTORS, which lists values per monitor.
  - QT_AUTO_SCREEN_SCALE_FACTOR, which automatically picks a value for each monitor.
  
  Documentation needs to take these new variables into account and we need
  to start using the new variables where applicable (the old one still
  works, but triggers warnings with Qt 5.6).
+ 
+ Note: tests/unit/units have failures with Qt 5.6.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1610208

Title:
  Migrate to new QT_SCALE_FACTOR in Qt 5.6

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  Qt 5.6 supersedes QT_DEVICE_PIXEL_RATIO with three variables:
  - QT_SCALE_FACTOR, which works the same way.
  - QTSCREEN_SCALE_FACTORS, which lists values per monitor.
  - QT_AUTO_SCREEN_SCALE_FACTOR, which automatically picks a value for each monitor.

  Documentation needs to take these new variables into account and we
  need to start using the new variables where applicable (the old one
  still works, but triggers warnings with Qt 5.6).

  Note: tests/unit/units have failures with Qt 5.6.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1610208/+subscriptions


Follow ups