Try using .png instead of .gif.. It worked for me in the past..
From: inhahe <inhahe@...>
Sent: Friday, August 28, 2009 4:02:57 PM
Subject: [Py2exe-users] problem with py2exe and pyqt4
hi, I have a problem with a pyqt4 program using py2exe. I have a couple of lines like this in my program:
self.flashcard.setStyleSheet("background-image:url('back-357.gif'); border-radius: 15px")
they work fine when i run the program normally, but when i make an .exe the background images just don't show up. i have the GIFs in the dist directory, and I even tried including them using the data_files option in my setup.py instead of copying manually, but still no results.
thanks in advance