Important: Please read the Qt Code of Conduct -

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

  • 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

  • Lifetime Qt Champion


    Can you reproduce that with a minimal project ?

Log in to reply