I want to follow the long-term path as stated in document so automatic scaling like QT_AUTO_SCREEN_SCALE_FACTOR is not acceptable.
Without a layout, I can use a value from devicePixelRatioF to scale the widgets. When using layout the size and position of the widgets will be handled by the layout. So how do scale widgets according to screen DPI in this case?
