PDA

View Full Version : arm + drawing



raghavendraningoji
14th October 2011, 10:47
Hi,
I am plotting a graph by painting outside paintevent which runs correctly in my linux desktop.And same application when i ran in IMX environment(for which qt is ported),i am getting error message as
painter engine not active.
Do i need to include any library to solve it..?

lbadias
9th November 2011, 14:38
Please excuse my english...

If you are painting outside the paintEvent it will not work on embedded devices, unless you use X11.

You have to paint everything in the paint event or paint every where to a QPixmap and in the paint event paint the QPixmap.

smacchia
31st December 2011, 16:57
As far as I know, even under X11, you still need to do the painting inside the paintEvent or it doesn't work.