Given that most future development by Tamoggemon Software will be done in Qt, it IMHO is only right and due to get a category on Qt here on TamsS60. And, as usual, let’s start out with a rant.
Let’s assume that you have initialized a nice QPainter, try to draw and nothing happens. You then check out the error log, and see an error similar to the one below:
QPainter::begin: Paint device returned engine == 0, type: 1
In this case, the situation is simple. You are most likely drawing on a QWidget outside of its PaintEvent. Like it or not, but there is no way to draw on a QWidget outside of its paintEvent (unless some special flags are set, which limit compatibility, blah blah)…