trying to package an application following the " Packaging PyQt5 & PySide2 applications for Windows, with PyInstaller" post, I set the icon argument in Pyinstaller like this:
The myicon.ico file is inside my resource (qrc), converted to Python code. The command was unsucessful, generating the error “Unable to open icon file myicon.ico”.
According to the post " The advantage of this method is that your data files are guaranteed to be bundled as they are treated as code — PyInstaller finds them through the imports in your source."
Is the post wrong orI’m doing something wrong?