Reply
Thread Tools
Posts: 15 | Thanked: 1 time | Joined on Oct 2009 @ Ottawa, Ontario, Canada
#1
There is Qt based Scribble application, very basic drawing application. It goes as an example with Fremantle Qt . I made no changes at all to the source code, well, except of background colour to make sure the app is my own ;-)
Compiles fine, works fine on the simulator. Works very slowly up to the point of being total useless on N900. It is impossible to draw a circle, the sampling is maybe twice per second. There is another application that came with N900 - Sketch, does exactly the same thing. Sketch works fine, Scribble does not, problem definitely not with the hardware capabilities

Any ideas?
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#2
Originally Posted by borisR View Post
There is Qt based Scribble application, very basic drawing application. It goes as an example with Fremantle Qt . I made no changes at all to the source code, well, except of background colour to make sure the app is my own ;-)
Compiles fine, works fine on the simulator. Works very slowly up to the point of being total useless on N900. It is impossible to draw a circle, the sampling is maybe twice per second. There is another application that came with N900 - Sketch, does exactly the same thing. Sketch works fine, Scribble does not, problem definitely not with the hardware capabilities

Any ideas?
If I understand you took the existing source code to a application that works well, changed the bgcolor and re-compiled and on your n900 it has pathetic performane now, correct? Well if I had a guess something like Debugging Code maybe?

Nathan
 
Posts: 15 | Thanked: 1 time | Joined on Oct 2009 @ Ottawa, Ontario, Canada
#3
Originally Posted by Nathan View Post
If I understand you took the existing source code to a application that works well, changed the bgcolor and re-compiled and on your n900 it has pathetic performane now, correct? Well if I had a guess something like Debugging Code maybe?

Nathan
No, the code never worked correctly on the device. The bgcolor change was just an indicator of version, and this change cannot affect performance. The code worked good on the simulator but not on the device.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#4
Might not be related, but when in doubt about Qt performance, always check memory usage, if you start to swap (which is unlikely on a desktop with gigabytes of memory), you can kiss performance goodbye.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#5
Maybe you should post the output from the build process, and maybe the binary, so people can check it was built correctly.
 
Posts: 15 | Thanked: 1 time | Joined on Oct 2009 @ Ottawa, Ontario, Canada
#6
there were no problem with the build, totally clean build, and the app is from examples, easy to rebuild. It would be actually nice if someone else will do the same, I mean compile and run from the supplied code.

I checked the memory usage, no, swap is not the reason.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:52.