![]() |
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
You can use plain Qt QGraphicsWidgets and QGraphicsItems in DUI containers.
http://doc.trolltech.com/4.6/graphicsview.html |
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
A quote I picked up on twitter the other day which I really liked and seems very appropriate here:
Quote:
I was going to point out, again, that it's perfectly possible for two very different looking platforms, even with different interaction models to have a common core API. The reason being because you're not innovating so radically in UX that we no longer have basic concepts like lists and buttons - even if Harmattan does make a giant leap forward. However, it seems plenty of others are on the same page and have beaten me to it. Considering Hildon's first incarnation as yet another UI framework for Symbian (Series 90) that no-one wanted to write apps specifically for, you'd have thought Nokia might have learned this lesson by now. Quote:
Quote:
Quote:
Developers can of course build their own QGraphicsWidget set in pure Qt. It's a lot of work. However, if their apps want to integrate well into Maemo and Symbian then they may well want to integrate with the theme engine - which is presumably separate again on each platform (I'd love someone to come and tell me otherwise, since we are surely in the realms of pure Qt here). Suddenly it's becoming a massive amount of work. Being able to use custom QGraphicsItems and QGraphicsWidgets in the Maemo containers doesn't help at all (well you could possibly port Symbian ones to Maemo or vice versa - but that's not going to give the platform look and feel). Of course it's all built with Qt, so it does mean you can have a lot more code reuse than you got historically, but we're still a very long way short of the cross-platform promise. Mark |
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
For those who are worried about compatibility of the QWidget based widgets in Dui, you might be interested in about the itemview-ng project in Qt Software.
Their goals is to make all the Q*Widgets to run natively on QGraphicsView. I guess this would solve most of the problems discussed here related on code compatibility. I don't want comment anything about having to different platforms here because I couldn't care less about symbian stuff:) See Thiago's comment on Qt labs discussion: ": to have all of the widgets available “natively” in Graphics View, to have them accessible from QML and to have native styling. As for CSS, we’re probably just going to ditch that in favour of QML." They will also introduce similiar kind of MVC model than DUI does. You can checkout the source code from git and check the examples. More information: http://labs.trolltech.com/blogs/2009...-have-liftoff/ http://qt.gitorious.org/qt-labs/itemviews-ng For me this sounds quite good. What do you think? I'm not sure if this "feature" will be available for Maemo 6... Addition:One thing came to my mind that there will be two different MVC mechanism when both Dui and Qt releases their systems. Instead of having two almost identical systems, could they put effort to develop only one, but make it really good? |
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
Hi zchydem,
Quote:
Quote:
Quote:
Mark |
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
I'd like to point out (as many probably already are aware of) that Qt code will be source compatible as long as its running on a supported platform.
|
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
Quote:
|
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
Hi dubik,
Thanks very much for coming to get involved in the conversation. Quote:
Quote:
Quote:
What about one of the comments on this thread, is DuiApplication really needed, or can things be pushed back into the private implementation of QApplication? I realise the libdui guys can't do that on their own, but in theory? |
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
please...
Having two differing widgets/application based on the same codebase is only a minor inconvenience, easily handled with #ifdefs and differing ui forms, if even needed. Heck, you can even load the ui forms at runtime, offering the ability to change the gui without recompiling. Not to mention Qt Kinetic. The same differences have existed between Qt, Qtopia, and KDE for a decade, and I have personally been there, and done that for the last decade (think Sharp Zaurus 5000D). It's not that difficult, really. I don't think it's a big of a deal as you make it out to be. I wrote an app - Gutenbrowser, that can be run on Qtopia, Qt desktop, Qt embedded, KDE, or whatever. (Although the Qtopia code has been abandoned for obvious reasons). It wouldn't be all that difficult to bring back the QtopiaApplication, if the need arises. Don't make mountains out of mole hills. |
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
Here we go again. Nokia never learns from its past mistakes.
|
Re: Maemo 6 loosing source compatibility with plain Qt, and Symbian^4
I really like the direction that the itemview-ng project is heading for. And definitely qml is the greatest addition to Qt stack since webkit. Qml finally allows separation of UI and business logic in a way that makes sense (which is that there is also scripting for the UI so that almost all user interaction can reside in the script portion of the application). With qml and especially the itemview ng, there is true portability of at least the UI level.
|
All times are GMT. The time now is 06:39. |
vBulletin® Version 3.8.8