envDpiAdjustmentPolicy is incorrectly resolved from envScaleFactorRoundingPolicy:
This resulted in QT_SCALE_FACTOR_ROUNDING_POLICY="Round" overriding QT_DPI_ADJUSTMENT_POLICY="AdjustDpi" and wrong warning message:
Unknown DPI adjustment policy: Round. Supported values are: AdjustDpi, DontAdjustDpi, AdjustUpOnly.
More critically, if only QT_DPI_ADJUSTMENT_POLICY was set, Qt will crash since it was trying to read from a null envScaleFactorRoundingPolicy.
|For Gerrit Dashboard: QTBUG-97443|
|376429,4||Initialize m_dpiAdjustmentPolicy from correct env||dev||qt/qtbase||Status: MERGED||+2||0|
|376776,2||Initialize m_dpiAdjustmentPolicy from correct env||6.2||qt/qtbase||Status: MERGED||+2||0|
|376777,2||Initialize m_dpiAdjustmentPolicy from correct env||6.2.1||qt/qtbase||Status: MERGED||+2||0|