Qt 5.12
The problem is that qputenv does not work if written after the initialization of QGuiApplication.
qputenv
QGuiApplication
I want to calculate scale accor