Learn Qt

Teaching Qt® to the world!

Flower

Qt and Python

When I blogged about Qt and BASIC, I was told that Qt and Python is the way to go. I can only agree to this. Riverbank Computing has done a tremendous job, providing Python bindings and tools for Qt to the community. For the Python coders out there, you can get your PyQt4 module from here.

from PyQt4.QtCore import *
from PyQt4.QtGui import *

if __name__ == "__main__":
    app = QApplication(sys.argv)
    w = QWidget()
    w.show();
    app.exec_()

Leave a Reply

You must be logged in to post a comment.