olive-groves / butterfly_viewer

Side-by-side image viewer with synchronized zoom and sliding overlays. Drag and drop to instantly compare multiple images on your desktop. Very open source.
https://olive-groves.github.io/butterfly_viewer/
Other
22 stars 3 forks source link

[Docs] Add how to (re)generate the icons resources file when adding or changing icons #49

Closed larsmaxfield closed 3 months ago

larsmaxfield commented 3 months ago

The docs should explain how to (re)generate the icons resources file icons_rc.py which contains the icons used in the Viewer.   This came up when troubleshooting how to add SVG icons for #37 with consistent behavior regardless of the means of execution (Python, --onefile EXE, --onedir EXE, etc.). I used this guide: https://www.pythonguis.com/tutorials/qresource-system/

The general steps are: