When the DPI is changed on Windows to be one higher and a label has an alignment in a layout it is not updated correctly. It will keep the original size of the label and not update to the new one. This does not happen if there is no explicit alignment set.
With the example, run it and then change the DPI to 150% or 200% and see that it has not updated. If you comment out the setAlignment() call then it works fine.
|For Gerrit Dashboard: QTBUG-77136|
|297764,4||Windows QPA: Fix High DPI scaling not becoming active when changing scaling||dev||qt/qtbase||Status: MERGED||+2||0|
|297771,1||Windows QPA: Fix High DPI scaling not becoming active when changing scaling||5.15||qt/qtbase||Status: ABANDONED||0||0|