Skip to content Skip to sidebar Skip to footer

Pyqt4 Window Does Not Appears While Running The Program But Appears On Ipython

I was trying out PyQt4. and tried this code. import sys from PyQt4 import QtGui

Solution 1:

You need to start the Qt event loop by calling app.exec_() once you have initialised the widgets and called show() on your main window.


Post a Comment for "Pyqt4 Window Does Not Appears While Running The Program But Appears On Ipython"