The Following 2 Users Say Thank You to lcuk For This Useful Post: | ||
![]() |
2009-05-27
, 18:50
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#2
|
![]() |
2009-05-27
, 18:59
|
|
Posts: 276 |
Thanked: 160 times |
Joined on Jul 2007
@ Bath, UK
|
#3
|
The Following User Says Thank You to Baloo For This Useful Post: | ||
![]() |
2009-05-27
, 19:07
|
|
Posts: 1,635 |
Thanked: 1,816 times |
Joined on Apr 2008
@ Manchester, England
|
#4
|
Wow, great topic, but a big topic.
I would suggest staying away from Qt for the time being. Although the current Qt armel implementation (4.3?) seems very robust, it's noticeably less responsive than GTK. To reiterate, that's just for the time being.
![]() |
2009-05-27
, 19:33
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#5
|
![]() |
2009-05-27
, 19:46
|
|
Posts: 276 |
Thanked: 160 times |
Joined on Jul 2007
@ Bath, UK
|
#6
|
can I ask, why is that only for the time being?
is qt actually faster than gtk?
![]() |
2009-05-27
, 19:54
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#7
|
can I ask, why is that only for the time being?
is qt actually faster than gtk?
Graphics performance improvements are said to be based on the following:
Paint engine and text rendering improvements
GraphicsView and StyleSheet improvements
X11 paint engine now uses XSHM (shared memory), for less overhead
New OpenGL ES 2.0-based paint engine
![]() |
2009-05-28
, 14:30
|
|
Posts: 1,635 |
Thanked: 1,816 times |
Joined on Apr 2008
@ Manchester, England
|
#8
|
Nokia has very high hopes for Qt 4.5 and mobile devices. I think you of all people will find this article significant. A tidbit:
![]() |
2009-05-28
, 15:09
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#9
|
but the fact remains an optimized QT application will run better than a bloated QT application
![]() |
2009-05-28
, 15:27
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#10
|
![]() |
Tags |
optimization, share, tips |
Thread Tools | |
|
many of us here develop applications for mobile devices with varying levels of success.
there are a few key elements which should go together to produce excellent applications within our constrained environment.
liqbase makes use of all of these and manages to produce lightweight extremely responsive applications ( see here for progress: http://www.youtube.com/watch?v=vt7qB37sLLo )
however you don't necessarily need to change the toolkit you are currently using to obtain good looking results.
On the desktop whether using GTK or QT I doubt anybody concerns themselves with the number of drawn layers in an application, the graphics cards there manage to render many many more frames than we can make use of.
On the tablets (obviously..) things are a little more constrained - even when the new device(s?) come along maintaining a heavily optimized application helps your battery.
even in the best case scenario your little computer will be held up by drawing and redrawing all these intermediate layers.
If you can cut back on the number of painted items and redundant refreshes then you can gain realistically visible improvements in performance.
think about back panels and containers within containers and make sure you disable painting of areas already pre-painted by the container.
Cutting down on the amount of UI clutter in your applications obviously helps to make a usable clean interface.
The principles of optimization are universal no matter what application you are writing and whatever toolkit you are using.
for instance, I discovered one of the best articles about optimization and simplicity from reading the forum nokia site and finding an article relating to WRT widgets:
http://blogs.forum.nokia.com/blog/al...lopment-part-2
so, let me know - what tips and advice would you give to prospective app developers?
(*apologies for formatting, hastily pasted from notes i made lastnight)
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
Last edited by lcuk; 2009-05-27 at 16:06.