QTQuickItem and QT_SCALE_FACTOR
Unsolved
General and Desktop
-
Hi!
I'm curently having a problem with QTQuickItem, where, upon the use of the QT_SCALE_FACTOR, the framebuffer's height and width are divided by two, displaying this result: .I have been able to workaround this issue by catching the value of QT_SCALE_FACTOR, and multiplying factors such as the input position and the window size by this.
Here is the source code of a demo: you will need OpenSceneGraph and QT to compile it if you wish to do so. (I'm using 3.4 and 5.9 respectively.)However, I don't feel like this shrinking behavior is expected from the QtQuickItem. Does anyone have an idea of a better solution instead of my proposed workaround ?
Thanks !