Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. New 5.6 feature Qt::AA_EnableHighDpiScaling show problems on QGraphicsView under android

New 5.6 feature Qt::AA_EnableHighDpiScaling show problems on QGraphicsView under android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • deleted57D Offline
    deleted57D Offline
    deleted57
    wrote on last edited by
    #1

    Hi all

    Started to test the new High-DPI support feature under android. Setting the Qt::AA_EnableHighDpiScaling flag at app startup give good result for widgets but show a very strange proble using QGraphicsView widget (openGL). I'm developing a game, without set the Qt::AA_EnableHighDpiScaling flag my scene inside QGraphicsView is showed correctly centered in android. However settings the flag it seem the scene is painted on the bottom left rectange only and the other part of viewport is showed white. The strange thing is that it seem the scene rect 0,0 start from center-left of the viewport area instead of the correct origin point on top left. Currenty I still not able to figure out the problem, someone experimented the same issue or have an explanation?
    Thank you

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you reproduce that with a minimal project ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved