python 3.x - Image from pyqt GUI does not appear in my executable -
i have gui created using pyqt , when trying make executable using cx_freeze images not appear. have try include_files command, else can do?
in python program, call images in next way (used pushbuttons , labels):
self.pushbutton_3.setstylesheet('border-image: url("image.jpg")')
my setup.py follow:
import sys cx_freeze import setup, executable setup(name ='tt2_cdv', options ={'build_exe': {'include_files':['image.jpg']}}, executables = [executable ("tt2_prueba.py")])
Comments
Post a Comment