![]() |
Qt and maemo5
Finally I've downloaded a image and installed a maemo5 SDK into it. I've thought that I'll give a try to create a software that would help my life. And while Qt installation script downloads it's own sdk, I started to think about qt. Is it allready the choice one could make and create any piece of software possible to n900? are there any limitations?
I'll need at least proximity sensor and gps for my app (proximity sensor isn't 100% necessary but it would improve the usability). My idea in a nutshell: when conditions are met with proximity sensor, app stores gps coordinates(the gps tracking should be on at the background to shorten the delay of getting the position) and maybe possible notes linked to the location point. then one could afterwards see the distances and notes if available. Should i pick qt? if not, will it be hard to port the app into qt afterwards? is there a point to write an app to gtk anymore? |
Re: Qt and maemo5
First things first, can a moderator move this to Development.
Quote:
This changes drastically in Harmatten/M6 (Maemo 6), QT will be the primary, and GTK/Hildon will no longer be a Nokia project but will be a community project. The QT stuff is owned and being built on Fremantle by Nokia employees. In addition QT for S60 is being pushed also by Nokia and built by Nokia employess. Nokia long term plan is looking to bring pretty much all there stuff together using QT. And for them it could win them the bank (it really is an potential setup for a check-mate move in the mobile market.) So right this moment, GTK has momentum because it has been used for the last 3 devices (770, N800, N810) and now the N900. However, QT has been available from Nokia developers on the N800/N810 and now also the N900. But it has not been pushed at all -- it has really been sitting on the side lines. My personal opinion is that shortly you will see Nokia start pushing QT a lot more on Fremantle devices because Fremantle will be the "beta" QT device for Maemo 6. They will want a library of QT products available for M6 when they release the M6 devices. So, in my "personal" opinion, QT will be in a lot stronger position in M6 then GTK is in right now. Quote:
Quote:
Porting, if you keep your interface code separate from the application logic, then porting could be fairly simple. (And it is entirely possible that Nokia will do all the heavy lifting work for GTK on M6 before they give it to the community -- meaning all the GTK apps would run unchanged, but I wouldn't count on it.) QT's advantage is that it has been used to port things from a LOT of OS's you can create an app on Windows and pretty much just recompile it on Linux or Mac and have a working app. They are working on making this work just as well in "their" mobile space. And that is what Nokia was betting on when they purchased the Trolltech company (QT's original owners). And they have apparently not spared any expenses in doing this -- they have worked very hard at making QT as attactive as they can. And making sure the binding layers are being built (or purchased). Nathan. |
Re: Qt and maemo5
There is a long and interesting discussion going on the maemo developer list.
|
Re: Qt and maemo5
Quote:
PS. The Nokia toolkit is usually written as Qt, QT is the Apple media framework (QuickTime), just to avoid confusion :) |
Re: Qt and maemo5
Quote:
Yes, PySide is what I'm talking about, PyQt might not be what a developer can use/accept (depending on what they are doing). As for QT vs Qt, I'm familiar with QuickTime and didn't even think about that people might get "confused" by it since QuickTime isn't even available on Linux or Maemo. But now that you mention it, I do see that Nokia uses Qt all over the place. Thanks! Nathan. |
Re: Qt and maemo5
Quote:
PS. Not to mention the far from impossible event of Riverside LGPL-ing PyQt when PySide starts nearing release quality. |
Re: Qt and maemo5
If you want to start programming right now AND don't plan to develop and use your program for longer than 1-2 years GTK is OK.
But if you are planning long term, Qt is better choice. Also when you start now, your application reach maturity in 6-8 months. In that time Qt solutions for Maemo 5 should be well established and preparations for Maemo 6 will go with full power. Note however that at this time Qt is in transitional period. First release of Qt prepared fully for Nokia (with Symbian and Maemo in mind) will be 4.6 which is in Technical Release stage. |
Re: Qt and maemo5
Quote:
|
Re: Qt and maemo5
Quote:
|
Re: Qt and maemo5
You can't really compare Gtk to QT and say 'one is better/worse than the other', or 'you should switch'. The Gtk toolkit has a C interface, QT is C++.
If you want to program in C, or Vala, use Gtk, if you want to program QT you'll have to use C++. (If there's a wrapper for C -- sounds unlikely -- I'm unaware of it). I for one will never program in C++, so an UI based around QT isn't as attractive to me as a Gtk UI. |
| All times are GMT. The time now is 17:45. |
vBulletin® Version 3.8.8