Hello,
I compiled the "aclock example" of qt2.3.10 on ep9315 board with arm. There was no compilation error;but just an empty window appeared on the screen when i ran the the application.
The reason is that Qpainter's functions(translate, rotate..) does not function properly. Actually most of the examples does not function properly because of that..
For example:
paint.translate(200.0,200.0);
paint.drawLine(-90,-80,-90,-70);
QPainter paint( this );
paint.translate(200.0,200.0);
paint.drawLine(-90,-80,-90,-70);
To copy to clipboard, switch view to plain text mode
this code shows nothing on the screen:but if i comment out second line, the line is drawn.
Same code works perfectly when compiled for desktop.
Note: The code also works on the same board when compiled with qt4.3.1
What may be problem and solution?
Thanks..
Bookmarks