LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-12-2004, 12:46 AM   #1
hpcpg
LQ Newbie
 
Registered: Oct 2003
Location: Czech republic
Distribution: Fedora Core 3
Posts: 15

Rep: Reputation: 0
Qt versus GTK


Hi.
I want to start programming in X. But in what? I know two main graphic
toolkits.
GTK and Qt. Which is better?
GTK:
+ opensource
- GTK can't Unicode. I would like to write in czech language with
czech characters, which aren't included in ASCII or in iso-8859-1. I
heard something about Pango project.
- I heard, that GTK is very slow.

BTW: What's the difference between GTK and GTK+?

Qt:
+ good looking
- non-opensource

Could you write here something about these things? Am I wrong?

I like programming in C++ rather than in C, so I would prefer object
oriented toolkit. Is there any?

Thanks a lot.
 
Old 01-12-2004, 04:51 AM   #2
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Ok, first of all QT is an OOP tool kit, written entirely in and for C++.

And, QT IS open source for developers. If you intend to release your programs under GPL or even keep it to yourself, you are free to use QT.

And, as an aside, there is gtkmm, which is a C++ interface for GTK+, which I have not used, but have heard as good.
 
Old 01-12-2004, 05:41 AM   #3
hpcpg
LQ Newbie
 
Registered: Oct 2003
Location: Czech republic
Distribution: Fedora Core 3
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by UltimaGuy
And, QT IS open source for developers. If you intend to release your programs under GPL or even keep it to yourself, you are free to use QT. [/B]
Of course, but I meant that Qt is not opensource itself. It's not very important, but who knows?
 
Old 01-12-2004, 06:46 AM   #4
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Qt is open source, the Linux version is released under the GPL.

Gtk does support Unicode very well using Pango, and isn't noticeably slower than Qt.

Alex
 
Old 01-12-2004, 07:28 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
be aware about differences in versions, i've always avoided qt like a rabid dog, but the possibllities and features of Gtk compared to Gtk2 are so big. Make sure you know which version these limitiations are actually referring to.
 
Old 01-12-2004, 07:46 AM   #6
hpcpg
LQ Newbie
 
Registered: Oct 2003
Location: Czech republic
Distribution: Fedora Core 3
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by llama_meme
Qt is open source, the Linux version is released under the GPL.
I didn't know it. It's good. It seems that I'll choose qt3.
BTW: What's the difference between GTK and GTK+
 
Old 01-12-2004, 03:43 PM   #7
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Quote:
BTW: What's the difference between GTK and GTK+
There is no difference, Gtk+ is the full name, but it's often shortened to just Gtk The C++ bindings to Gtk+ are rather confusingly called Gtk-- or Gtkmm

Alex
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM
RPM -U versus -F - which should be used MSwal2846 Linux - Newbie 6 03-15-2004 12:21 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration