maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   New application...Qt or Gtk?? (https://talk.maemo.org/showthread.php?t=47652)

fuzzbuzz 2010-03-18 03:42

New application...Qt or Gtk??
 
Hello all.

I am attempting to write a small program for my N900. I have set everything up and ready to go. It seems that ESbox comes ready to create Qt or GTK applications. I use a mix of both on my desktop, and have never developed for either, so I have no preference.

Anyone know why there's 2? Either of them "official" or "unofficial"? Does anyone know of a particular reason to use one and not the other?

Thanks.
fuzzbuzz

Sasler 2010-03-18 07:30

Re: New application...Qt or Gtk??
 
If you are interested to learn something that is future proof, then Qt is the way to go. I personally have no experience with GTK, but I've been using Qt for a bit now and I really like it. However, this is only my personal opinion. :)

chainreaction 2010-03-18 07:44

Re: New application...Qt or Gtk??
 
After PR1.2 goes public Qt 4.6 is officially supported. I'd say that you should use Qt with the same explanation as the previous poster. If you're developing with python then there's also the choice between PyQt and PySide bindings that gives another problem. Can't really say an expert opinion about that.

noobmonkey 2010-03-18 08:30

Re: New application...Qt or Gtk??
 
pyqt :D - just learnt it, seems fine to me :D

danielwilms 2010-03-18 09:10

Re: New application...Qt or Gtk??
 
Hi,

I think developing with Qt in QtCreator might be an option for you and with the integration of the tech preview of MADDE - as a cross-compilation tool - into QtCreator the easiest way to go. Look at this post for more links & information.

Daniel

fuzzbuzz 2010-03-19 00:34

Re: New application...Qt or Gtk??
 
Yeah I thought Qt might be better, because I know Nokia bought Trolltech a while ago.

Thanks for your inputs. MADDE and QtCreator seem especially cool.

tirtawn 2010-03-19 00:36

Re: New application...Qt or Gtk??
 
QT. Since QT can be used on symbian too and other platforms such as windows or mac.

QT belongs to Nokia so go figure :).

slobodsky 2010-03-19 21:52

Re: New application...Qt or Gtk??
 
Qt, of course. I did use GTK+ a while ago and I don't like it - plain C doesn't fit well for object oriented programming. Qt's C++ is much clearer. Qt is cross-platform: my application runs on MS Windows, Linux, Windows Mobile (crawls) and Maemo. I'm shure I'll port it to the MeeGo without problems.
Also you can do main job in the desktop version and make only the Maemo-specific features in scratchbox or on device. It's much simpler.


All times are GMT. The time now is 01:55.

vBulletin® Version 3.8.8