Qt with C++ or Python Tutorial

xster
xster
Published in
2 min readMar 31, 2009

[caption id=”attachment_35" align=”alignright” width=”300" caption=”Qt Creator”]

Qt Creator

[/caption]

This is a collection of tutorials I found useful to get into the Qt framework. Being more used to the Microsoft standard, I have always wanted to branch into more cross-platform stuff so that I can at least write tools and programs for my Mac. I never really liked the idea of “reinventing the wheels” feel of C++ unless it was on an embedded system so Python looked like a solid contender to the rather messy Perl.

In terms of interface, the choice is rather broad for Python but after trying a bit of Cocoa, TkInter, wxPython and GTK, nothing can quite give the clean and organized feel of Qt.

A solid start for Qt (which is written for C++) is always to go through the official 500+ pages book for Qt and C++. Luckily, the book’s available online from the Qt website. Too bad they’ve made it not very obvious to get to from the start page.

Then you can go through some more task-specific tutorials or get straight into PyQt:

But nothing can compare with the wealth of information that’s available in the Rapid GUI Programming with Python and Qt book. It is simply my best recommendation.

Here’s a tutorial for deploying PyQt applications on Mac.

--

--