I get an warning in my test case when showing a simple Dialog.
QWindowsWindow::setGeometry: Unable to set geometry 720x229+2520+466 on QWidgetWindow/'UserDataDirectoryWindow'. Resulting geometry: 720x298+2520+466 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 226x202, maximum size: 16777215x16777215).
There is one requirement of the environment, you have to set the appearance for Text and Apps to 125%, in Windows 10.
The setting is called:
"Change the size of Text, Apps and other Items:"