LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-10-2012, 06:06 AM   #16
pmvstrm
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Rep: Reputation: Disabled

Quote:
Originally Posted by piyush.sharma View Post
Thanks, it is a nice description. I will use GTK+ for my application.
Ok, then you should think about a few thinks if you want crossplatform.

If you only target Linux/Unix/Mac then you can use the normal Gnu Buildsystem wich is avaiable
on any Linux and Unix and even on Mac builtin. But if you want Windows and Developing on Linux
then it is a big Help using a System like CMake or Scons (i prefer CMake). CMake is not bounded
to posix or what so ever. It creates Platform depended Makefiles and Workspaces for the specific
Platform, wich is a very big Help if you have Developers on various diffrent Operating
System and if you want an single, entire Buildsolution. But if you only target nix,
you can use the Autotools approach as well.
 
Old 10-10-2012, 06:46 AM   #17
piyush.sharma
Member
 
Registered: Jul 2012
Location: Delhi, India
Distribution: CentOS
Posts: 73

Original Poster
Rep: Reputation: Disabled
I am a Linux user, but if I ever need to develop for windows, I will keep your suggestion in mind. Thanks.
 
Old 10-10-2012, 09:26 AM   #18
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,616

Rep: Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415
Quote:
Originally Posted by pmvstrm View Post
If you want closed source or opensource and commercial (licensing or whatever) you have to pay a full commercial license to Digia Inc, wich is now the Owner. QT has changed its owner in the last to years and every new Owner can change the licensing terms very quickly.
The licensing terms are the same under Digia as they've been under Nokia. You get Qt for free under an LGPL license, which allows your application to be closed source and/or commercial. A "commercial license" is only needed if you want to create a closed-source fork of Qt itself.

Last edited by dugan; 10-10-2012 at 09:36 AM.
 
Old 10-10-2012, 04:02 PM   #19
pmvstrm
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
A "commercial license" is only needed if you want to create a closed-source fork of Qt itself.
Sorry, this isnt true:

Quote:
You should develop with a Qt commercial license if you:
Use, modify and redistribute Qt with no obligation to share your source code
Quote:
Digia Open Source Licensing
Alternatively Qt is also licensed under under the GNU General Public License (GPL) (version 3) and the GNU Lesser General Public License (LGPL) (version 2.1). You can use this edition of Qt to create and distribute software with licenses that are compatible with these free software licenses. LGPL and GPL are complex licenses that contain many obligations and restrictions you must abide with. Always consult an experienced lawyer before choosing these licenses for your project.
http://qt.digia.com/Product/Licensing/

QT has changed its owner in the past years a few times and this can happen anytime again and this can have a hugh impact to you, espacially if you have an hugh codebase and cannot simply switch to an another Framework.
 
Old 10-10-2012, 05:14 PM   #20
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,616

Rep: Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415
Quote:
You should develop with a Qt commercial license if you:
Use, modify and redistribute Qt with no obligation to share your source code
"Your source code", in this context, means your modified version of Qt itself.

What you posted says exactly the same thing I did. A commercial license is only needed if you want to create a closed source fork of Qt. The LGPL license is fine for closed source commercial applications that only link against Qt. This is true by the very definition of the LGPL. These are also the exact same terms that Nokia offered.

Last edited by dugan; 10-10-2012 at 05:24 PM.
 
Old 10-10-2012, 06:20 PM   #21
pmvstrm
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Rep: Reputation: Disabled
Wrong.

Cant you read?

Quote:
You should develop with a Qt commercial license if you:
Use, modify and redistribute Qt with no obligation to share your source code
 
Old 10-10-2012, 06:33 PM   #22
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,616

Rep: Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415
I can. Any more questions?

To overcome your confusion, I suggest that you read beyond the introductions. Start by familiarizing yourself with the version of the LGPL that both Nokia and Digia have offered Qt under. (hint: it's the same one).

Another hint: since you have clearly been confused both by the wording of that paragraph and by what I strongly suspect is a predisposition on your part towards justifying your choice of Gtk, here's a more precise definition of the license terms:

http://qt.digia.com/Product/Licensin...se-Comparison/

You will notice that "Application source code can be private when linking dynamically" is, in fact, checked under the "LGPL" column. This is one of the distinguishing features of the LGPL. These are, of course, the exact same terms that Nokia offered.

If your next post demonstrates that you still have not read even the Wikipedia article on the LGPL, then I will put you in my ignore list.

Last edited by dugan; 10-10-2012 at 07:10 PM.
 
Old 10-11-2012, 08:08 AM   #23
pmvstrm
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Rep: Reputation: Disabled
I think i will put you in my ignorelist first, i dont talk with redards like you.
 
Old 10-11-2012, 11:59 AM   #24
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,616

Rep: Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415
Quote:
Originally Posted by pmvstrm View Post
i dont talk with redards like you.
That's your response? Honestly, I'm tempted to give you reputation because it's sig-worthy. And since you've chosen not to address any of my points, I'm going to assume that you've conceded them.

Thank you for demonstrating to the OP that he'll get better, more courteous and more informed Qt support than Gtk support here.

Last edited by dugan; 10-11-2012 at 12:54 PM.
 
Old 01-22-2013, 12:57 PM   #25
jaitrum
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Well, I don't know if you eventually choose GTK, but I hope your aim wasn't mobile programming with Gtk+.
BB10, Jolla, Ubuntu Phone, necessitas project to port to Android..., all with Qt.
 
Old 01-23-2013, 06:20 PM   #26
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,616

Rep: Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415
Qt and Gtk also aren't the only options for a desktop Linux app. If you've ever used Enlightenment, for example, it's hard to avoid being at least curious about EFL.
 
  


Reply

Tags
gtk+, qt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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


All times are GMT -5. The time now is 05:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration