PDA

View Full Version : QCanvas Example



Sarma
7th March 2006, 05:48
hi,
Do anyone have a simple example on QCanvas. It should have a class other than main method.

Thanks in advance,
Sarma.

e8johan
8th March 2006, 17:14
This might be what you are looking for: http://www.digitalfanatics.org/projects/qt_tutorial/chapter12.html

chandan
8th March 2010, 17:37
Why my Visual studio 2008 pro version does not support QCanvas?
Can anyone help me in this case please?

bmhautz
8th March 2010, 20:44
Why my Visual studio 2008 pro version does not support QCanvas?
Can anyone help me in this case please?

What version of Qt do you have? QCanvas was phased out in 4.x. If you are really looking for the QCanvas functionality for compatibility with Qt 3.x software, it's still available under the Q3Canvas class. If you're currently working with Qt 4.x and have no need to interact with Qt 3.x software, then you should begin with QGraphicsView.