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.3k stars 242 forks source link

Pyinstaller Error #5

Closed sihyeonlee closed 3 years ago

sihyeonlee commented 3 years ago

Hello, When I create my own script as an executable file using a pyinstaller, the following problems occur: FileNotFoundError : ../pyside_material/fonts The following errors also occur: Warning: /pyside_material/themes/dark_cyan.xml not expist! It works normally in the local environment, but this error occurs when I create an executable file and run it. I don't think it properly routing the file, so please check it. Thank you.

YeisonCardona commented 3 years ago

@sihyeonlee Are you including correctly the data files with PyInstaller?

sihyeonlee commented 3 years ago

@YeisonCardona Yes, I including data files correctly. And I solved this problem, the Python version problem. There was a problem with version 3.7.9. In version 3.6.8, the problem was solved. Maybe it was a problem on the Pyinstaller side. Thanks.