Symbian version of QTwitdget

When officially Qt 4.7 was released for Symbian, I tried to first to easy port (just recompile for Symbian) and I was surprised that worked for the first time. But there were problems with size of elements (notably the font) so some changes to QML files were necessary.

And this was the first problem. How to keep QML files compatible within various platform. Well, you can try to write QML elements to be as much as size independent but that’s not really possible in real situations. I thought of various solutions but I think the ‘keep different QML files for different platform’ is the best approach. QML is very easy to write, so it’s not very difficult to changes some properties for different platforms and keep different QML files. So essentially there is a separate QML branch just for Symbian.

The second problem was performance of ListView. This is very known fact about current implementation of QML for Symbian. So I had to strip as much as I can elements from delegates. At the moment performance it’s not stellar, neither bad, but it can be made to be much better.

The second problem was that I was using default network disk cacher for caching avatars in Qt, but his speed it’s not very suited for mobile platform. It’s slow. There is plan to fix this in current versions of Qt, since there is plan to release new cacher, it’s not worthed to implement your own cacher.

The third problem is that when there is network activity UI feels sluggish. As mentioned above, there is plan to fix this.

And the rest of problems are that desktop and mobile platform are different in a lot of area, and some UI design is inherited from desktop version (no button in search pane for example).

Here are some screenshot:

That’s all for now.

~ од minimoog на Август 21, 2011.

Напишете коментар