I am converting the Python file to exe, but the images (icon, background etc.) in the project are not included in exe. How can I fix this? (I would also like to mention that I have included the pictures in the project using PixMap in PyQT. If exe and pictures are in the same folder, it works properly but does not work in different locations.)
Asked
Active
Viewed 91 times
1
-
See this question regarding embeding resources in compilations: https://stackoverflow.com/questions/31836104/pyinstaller-and-onefile-how-to-include-an-image-in-the-exe-file – JonC Apr 10 '20 at 22:58