[PyQt] Problems with pyInstaller 2.0 and qt setWindowIcon Command

2012-11-14 Thread James Goss
Hi All, Wondering if anyone can help, Simple Qt Application: |from PyQt4 import QtGui, QtCore import sys, atexit class ApplicationWindow(QtGui.QMainWindow): def __init__(self): QtGui.QMainWindow.__init__(self) self.setAttribute(QtCore.Qt.WA_DeleteOnClose)

Re: [PyQt] Problems with pyInstaller 2.0 and qt setWindowIcon Command

2012-11-14 Thread James Goss
Apologies, typo, the added lines should read: |iconfile= QtGui.QIcon('C:/pyinstaller/img/image1.png') aw.setWindowIcon() | On 14/11/2012 12:57, James Goss wrote: Hi All, Wondering if anyone can help, Simple Qt Application: |from PyQt4 import QtGui, QtCore import sys, atexit

Re: [PyQt] Problems with pyInstaller 2.0 and qt setWindowIcon Command

2012-11-14 Thread James Goss
|iconfile= QtGui.QIcon('C:/pyinstaller/img/image1.png') aw.setWindowIcon(iconfile) | ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Problems with pyInstaller 2.0 and qt setWindowIcon Command

2012-11-14 Thread Hans-Peter Jansen
Am Mittwoch, 14. November 2012, 12:57:05 schrieb James Goss: Hi All, Wondering if anyone can help, Simple Qt Application: |from PyQt4 import QtGui, QtCore import sys, atexit class ApplicationWindow(QtGui.QMainWindow): def __init__(self):