Active Topics

 


Reply
Thread Tools
Posts: 47 | Thanked: 14 times | Joined on Sep 2009 @ Evry, France
#1
Hi guys!

I'm not sure this thread belongs in this category but I'll ask anyway.

I want to start developing some apps for the n900 and I'm not sure if I should use GTK or Qt for it.

I'd love to hear your input regarding this choice (pros and cons). You need to keep in mind that I intend to make the apps as compatible as possible with the previous and future releases of Maemo. However, I'm more interested in being able to port it to Harmattan.

Thanks guys!
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#2
You answered the question - if you care about Harmattan (and are not a GTK guru already) the choice is quite clearly Qt, especially since it will be officially supported on Fremantle from Q1 next year.
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#3
If you are looking for future compatibility then Qt is the official path. If you need something right now look at the 4.5 community port. If you still have a bit of time to play with then the official Qt 4.6 port is the best path

http://qt.nokia.com/developer/qt-for-maemo-developers

http://www.nokia.com/press/press-rel...newsid=1346627
 

The Following 3 Users Say Thank You to qgil For This Useful Post:
deadmalc's Avatar
Posts: 415 | Thanked: 182 times | Joined on Nov 2007 @ Leeds UK
#4
Also remember that it is likely to be easier to port to symbian (in Qt) as well, you may not be interested in symbian directly but it could give your app more attention.
__________________
Life on the edge....always waiting to fall
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#5
GTK:
+ life is easier on Fremantle with GTK as this is the native toolkit with full support for everything
+ can write code in any language
+ cross-platform (Linux, Unix, Windows, Mac)
- community maintained documentation not always easy to read or complete
- GTK will be officially dropped for Harmattan and will only be community-supported (like Qt is now)
- some say Qt is faster than GTK
- object-oriented GObject C is something you have to get used to, but with higher languages, this isn't required

Qt:
+ will be the native toolkit on Harmattan
+ Qt apps written today are supposed to work mostly on Harmattan
+ code-compatible with Symbian in the near future
+ good documentation
+ cross-platform (Linux, Unix, Windows, Symbian)
- cannot write code in C, you need at least C++
- C++ code is not real C++, but has to be preprocessed by a special preprocessor for compiling
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 8 Users Say Thank You to pycage For This Useful Post:
Posts: 20 | Thanked: 71 times | Joined on Sep 2009
#6
If you have time to wait until Q1 2010, then Qt might appeal to you then, if you want to code for future (Maemo 6) too. See http://talk.maemo.org/showthread.php?p=330308 thread for more info.

If you want to do things right now, and specifically in a way that Maemo 5 does things in the UI, then using Hildon (and Gtk) might be more appealing to you right now.
 

The Following User Says Thank You to msoini For This Useful Post:
Posts: 47 | Thanked: 14 times | Joined on Sep 2009 @ Evry, France
#7
Wow! Thanks for the quick replies.

I suppose I can wait a little more and just go with Qt (that's if I only have to wait until Q1 of 2010). I could use the time to study Qt a little more and get some pointers on C++, since I'm not familiar with it.

http://talk.maemo.org/showthread.php?t=31888 answered some additional questions I had, so thanks for pointing me in the right direction.
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#8
Originally Posted by Andrei View Post
I'm not sure this thread belongs in this category but I'll ask anyway.
Thread moved to the Development forum, but don't let selecting another forum initially concern you. Thanks for joining the community and jumping in like this!
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#9
Originally Posted by pycage View Post
Qt:
- cannot write code in C, you need at least C++
You can write Qt apps in Python as well, with PyQt or the newer PySide.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 

The Following 2 Users Say Thank You to rm42 For This Useful Post:
Posts: 94 | Thanked: 28 times | Joined on Oct 2009
#10
Originally Posted by pycage View Post
GTK:
- community maintained documentation not always easy to read or complete

Qt:
+ good documentation
Hmhm, what exactly makes you say that?
 
Reply

Tags
development, gtk vs qt, n900


 
Forum Jump


All times are GMT. The time now is 23:06.