LinuxQuestions.org
Review your favorite Linux distribution.
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 07-19-2010, 09:40 PM   #16
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56

Quote:
Originally Posted by exvor View Post
One of the main issues with QT is that you have to have almost all of KDE installed to be able to use programs with it. GTK is not this way, many of the programs do not require you to have most of GNOME installed.
That's because most of the native Qt widgets that aren't KDE-specific are proprietary and used primarily in M$ WinBloze apps.

If you want something genuinely FOSS your best bet is GTK+.

Also: GTK+ absolutely must not depend entirely on GNOME, as the latest releases of Xfce also are based on GTK+ code.
 
0 members found this post helpful.
Old 07-19-2010, 09:42 PM   #17
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Kenny_Strawn View Post
That's because most of the native Qt widgets that aren't KDE-specific are proprietary and used primarily in M$ WinBloze apps.
That is absolutely false.

It amazes me that you would make up misinformation like that.

For one thing, none of Qt's widgets are KDE-specific. KDE's widgets are contained in the separate kdeui library, and all of them are subclassed from Qt's widgets. Which means they're obviously not any more "proprietary" than their superclasses. And to talk about "native" Qt widgets is meaningless.

Last edited by dugan; 07-19-2010 at 10:08 PM.
 
Old 07-19-2010, 09:43 PM   #18
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by Kenny_Strawn View Post
That's because most of the native Qt widgets that aren't KDE-specific are proprietary ...

Where from did you take that info ?
 
Old 07-19-2010, 10:06 PM   #19
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
<removed>

Last edited by Kenny_Strawn; 07-19-2010 at 10:07 PM. Reason: Did not see the other post of mine
 
0 members found this post helpful.
Old 07-19-2010, 10:12 PM   #20
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by Sergei Steshenko View Post
Where from did you take that info ?
http://en.wikipedia.org/wiki/Qt_(toolkit)

Quote:
Originally Posted by Wikipedia article on Qt
License: GNU LGPL 2.1, GNU GPL 3 with Qt special exception, Commercial developer license
 
Old 07-19-2010, 10:16 PM   #21
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Offering the option of a commercial license, as an alternative to the two open source licenses also offered, does not make Qt proprietary.

You should have looked into why Nokia offers that option, what the terms are, and why someone might want to pay for it.

http://qt.nokia.com/products/licensing

Needless to say, no part of Qt is proprietary.

Last edited by dugan; 07-19-2010 at 10:30 PM.
 
Old 07-19-2010, 10:30 PM   #22
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Kenny_Strawn View Post
That's because most of the native Qt widgets that aren't KDE-specific are proprietary and used primarily in M$ WinBloze apps.


Quote:
Originally Posted by Kenny_Strawn View Post

Ummmm ... that article doesn't mention anything like
your statement above; where on earth did you learn to
make citations or quotes?


Cheers,
Tink
 
Old 07-19-2010, 10:46 PM   #23
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by Kenny_Strawn View Post
I think you have serious problems with understanding what LGPL and/or English in general.

Specifically, recheck you understanding of what "widget" means in GUI toolkit context.
 
Old 07-19-2010, 11:51 PM   #24
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by Sergei Steshenko View Post
I think you have serious problems with understanding what LGPL and/or English in general.

Specifically, recheck you understanding of what "widget" means in GUI toolkit context.
I know what 'widget' means. It's a visual piece of a GUI (such as a window, bar, or panel) that combines with others to make the whole GUI's visual appearance.

And I also know that the LGPL is a license that serves as a compromise between permissive licenses and copyleft licenses. That's why it is called "Lesser": It says that software that merely links with software licensed under it can be under another license, even a proprietary license, but software that actually uses its code may not.
 
Old 07-20-2010, 12:32 AM   #25
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by Kenny_Strawn View Post
I know what 'widget' means. It's a visual piece of a GUI (such as a window, bar, or panel) that combines with others to make the whole GUI's visual appearance.

And I also know that the LGPL is a license that serves as a compromise between permissive licenses and copyleft licenses. That's why it is called "Lesser": It says that software that merely links with software licensed under it can be under another license, even a proprietary license, but software that actually uses its code may not.
So, how do "most of the native Qt widgets that aren't KDE-specific are proprietary" come from your words above ?
 
Old 07-20-2010, 07:56 AM   #26
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I also don't get where you got the idea that Qt is proprietary. It was, but not any more.

All I said was that GTK+ is FOSS all the way and is community-developed, while AFAIK Qt is developed by a corporation and just releases it under a FOSS license to keep KDE users from getting angry about the fact that they must install non-free software.

*** If you think Qt is connected to KDE, please read below ***

Also, there seem to be plenty of members that falsely believe that Qt is part of or dependant on KDE. Yes, there are KDE widgets, but they are all just subclasses of pure nothing-to-do-with-KDE Qt widgets. Also, people say that Qt is KDE because most Qt progrmas bring in KDE dependencies. But this is because most Qt programs are made specifically for KDE, because just about no-one but KDE uses Qt for some reason. This is no different than a GTK+ program made specifically for GNOME pulling in GNOME dependencies. Writing a Qt program that has nothing to do with KDE is just as simple as writing a GTK+ program that has nothing to do with GNOME.

If you really want examples of Qt programs with no KDE dependencies, check out "SpeedCrunch" and "VirtualBox". They don't even follow KDE's theme setting! To change "pure" non-KDE Qt settings, including the theme, run the command "qtconfig".

Last edited by MTK358; 07-20-2010 at 08:01 AM.
 
Old 07-20-2010, 08:30 AM   #27
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Kenny;

Based on our discussion in another thread**, I concur that you need to be more careful with your facts and references. Please don't modify your enthusiasm---just slow down a bit....

thanks

**http://www.linuxquestions.org/questi...nux-os-819405/ (In this thread, you never posted a follow-up after the post from the company making the SW. )
 
1 members found this post helpful.
Old 07-20-2010, 09:11 AM   #28
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
A long time ago in Qt Designer I made a complex GUI for fun. It was very easy, it Just Worked, and it looks perfect and professional.

Just to see, I decided to try recreating it in Glade. It's insane how difficult and frustrating it is. The main problem is the layouts. Somehow in Qt you just throw it together and it looks PERFECT. But in GTK+, you have to change all these little settings and even set hard-coded pixel values for spacings (yuck)!

Also, in Qt, they don't have these complicated packing boxes where things go in the front and in the back. They just have "spacers", which you can pretend are like invisible springs that push apart certain GUI elements in a box layout. So simple!

I can't believe how someone in their right mind would ever choose to write an app in GTK+ rather than Qt, having gotten a taste of both. I'm just thinking, maybe I'm doing something wrong? How could it be that GTK+ is so popular?!?
 
Old 07-20-2010, 12:26 PM   #29
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
My 2 pence.

Qt is far more than just GUI library, you've got thread, network ... os-independant wrappers. GTK+ is GUI only. Am i wrong there since nobody else tell that important point ?

The official Qt's documentation is really great, GTK+ official documentation is quite incomplete.

Not that much experencied with Qt (only a dozen of app), I've tried Qt-designer and I don't like it, especially because I never found a way to declare an array of identical widgets, Qt-designer output is a big unreadable source code you've got to compile. By the way, writing a "not that much" complicated GUI by hand only is really easy.

I've tried GTK+ only once, and without testing glade, but afaik glade output is an xml description of your widget that could be interpreted at runtime. There too, I found that writing gui by hand is quite easy, but i think that pure C object oriented coding can be disturbing for somebody not too experienced.
 
Old 07-20-2010, 12:28 PM   #30
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by MTK358 View Post
...How could it be that GTK+ is so popular?!?
A couple of reasons:
  1. Qt license used to be restrictive for a long time, i.e. there was no LFPL option;
  2. Folks in the US do not quite like things developed in Europe (Qt is a European creation), RedHat prefers Gnome, etc.
 
  


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
Inhibit GTK verbose messages when running GTK/Gnome applications from terminal d1s4st3r Linux - Software 1 11-10-2009 10:33 PM
gtk-qt-engine causes white border on gtk tray icons tdtooke Linux - Desktop 0 08-08-2008 12:25 PM
GTK+ programs on Windows without having to install GTK+, GLib, etc Nylex Programming 2 02-19-2006 01:33 PM
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
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM

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

All times are GMT -5. The time now is 04:42 AM.

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