QPainter painter(&image);
This is a line from one of the examples (Scribble) that comes with QT 4 Package.
I tried to do the same in my app.
QPainter painter(currentFrame->imgQ);
(here currentFrame is an object of a class that contains the QImage imgQ)
Now, when I do this, the error states that there is no any function that matches for my call.
Can you please tell me how to initiate a QPainter with a QImage??
Just so you know, my app is a webcam app and I want to add a feature where u can draw onto an image.
Thanks already!!
Bookmarks