'Can font sizes in Qt Designer be specified in pixels instead of points?

After a lot of research I finally realized that my application is looking funny because the fonts specified in Qt Creator are in points and not in pixels, and my laptop is running at 125% scale.

Is there a way in which I can change Qt Creator behaviour so it uses pixels instead of points for font sizes? So I don't have to manually edit the .ui files to change "pt" for "px". I'm using PyQt5.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source