Find the answer to your Linux question:

View Poll Results: Which do you like more?

Voters
10. You may not vote on this poll
  • GTK+

    7 70.00%
  • QT

    3 30.00%
Results 1 to 6 of 6
Hello I am new in programming world. I know basics of C and basics of C++. I think I prefer C++ more and I like GNOME. Now I am choosing ...
  1. #1
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549

    Chooseing: GTK+ or QT

    Hello

    I am new in programming world. I know basics of C and basics of C++. I think I prefer C++ more and I like GNOME. Now I am choosing betwen GTK+ and QT.
    My question is:
    What is easyer to learn?
    Can I write windows applications using GTK+ and QT API`s ?

    EDIT: Oh and I think win32 api sucks....just opinion

    Thanks in advance,

    Jan Birsa

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    Yes, you can use both in Windows.

    My suggestion - try both and see which one you like. If you are like me and like everything to look integrated, then use the toolkit for you desktop. Whatever works best for you.
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    And what is easyer to learn?

  4. #4
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,228
    To be quite honest, I'd really not consider that. Both of these toolkits have tutorials available:
    http://www.gtk.org/tutorial/
    http://doc.trolltech.com/4.2/tutorial.html

    Try them both out. Which do you think looks nicer? Both are object-oriented, but which is easier for you?

    You will be able to learn either one (or even both!) if you put your mind to it. And if you like it, it's worth the time.
    DISTRO=Arch
    Registered Linux User #388732

  5. #5
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    You could always do mono

    *ducks*
    Brilliant Mediocrity - Making Failure Look Good

  6. #6
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317
    you might be interested int gtkmm. its an object oriented wrapper arount gtk. i think qt is onject oriented so that would be a beter comparison.

    if i were you i would use gtk/gtkmm. mostly because you like gnome. but dont use gnome stuff. stick with just gtk. the reason is there are a lot of other desktop environments that use gtk, such as xfce. xfce people often have to have gnome crap even though they dont use gnome. if you write for gt/kde, you dont have the same problem writing with kde libraries with the qt. but on windows ot mac, were qt is ported, the kde libraries might not be. same with gtk/gnome.

    try to stick with gtk or qt. if you need something gnome offers that gtk doesnt, just consider it a geat learning opertunity.

    look into glib as well. it is good for cross platform compatibility, as it defines ridgid primitive types and ways to always have data presented in the same way, so you can port programs between proccessor, platform, and anything else much easier.
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •