UN-GCPDS / qt-material

Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6
https://qt-material.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
2.39k stars 253 forks source link

macOS codesign check issue in qt_material/dock_theme_ui.py #113

Closed Yongle-Fu closed 6 months ago

Yongle-Fu commented 6 months ago

after use pyinstaller generate MyAPP.app

➜ deploy git:(develop) ✗ codesign -vvv --deep --strict path/to/MyAPP.app/

path/to/MyAPP.app/: a sealed resource is missing or invalid file added: /path/to/MyAPP.app/Contents/Resources/qt_material/dock_theme_ui.py

while remove dock_theme_ui.py, codesign check is fine

Yongle-Fu commented 6 months ago

add dock_theme_ui.py file and add follow code to hook-qt_material.py will be ok

dock_theme_ui_path = qt_material_path / "dock_theme_ui.py"
datas += [(str(dock_theme_ui_path), "qt_material")]