PDA

View Full Version : QPainter issue in embedded system



dulan2010
13th November 2010, 14:51
Hi all,
I created a qt-4.7 project for my arm9 based embedded system, during debuging under Linux on my PC, everything looks fine, but when I transplated the project into my embedded system which is a TQ2440 ARM9 based system, it draws nothing but keeps spaming the following error messages all the time:
QPainter: setPen: painter not active
QPainter:drawPoin: painter not active
someone told me it is because I didn't implement my drawing procedure in paintEvent, so I did, fortunately the problem solved, but here comes another one, the system becomes extremely slow after each update() was invoked, I wonder what went wrong there? Thanks in advance!