Unexpected message in Debug log
Unsolved
General and Desktop
-
As described in the documentation this error means that the DPI setting is already set at the point of this call. This could happen, for example, if you have a manifest file in your project that sets DPI awareness mode, or if you call that function somewhere in your code before Qt does.
Depending on what the previously set value is this can be harmless or something to look at. Qt tries to set
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
mode, which is the preferred mode to achieve best scaling results on modern Windows. If something sets it to something else your app might exhibit scaling artifacts.