/pyside2_high_dpi

Minimal PySide2/Qt example for high dpi experimentation.

Primary LanguagePythonApache License 2.0Apache-2.0

PySide2 High DPI example

I have been trying and failing to get high-dpi icons to work correctly in Qt + PySide2. The goal is to create and then fix this minimal example.

Solution: use SVG images and stylesheets.

Baseline

Win10x64 before without any high DPI setting:

win_before_no_highdpi

Win10x64 before with high DPI setting:

win_before_with_highdpi

References

Here are some QT references:

And some interesting tutorials and forum posts:

Additional Windows guides: