LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   QT vs GTK+ (https://www.linuxquestions.org/questions/programming-9/qt-vs-gtk-4175429859/)

pmvstrm 10-10-2012 06:06 AM

Quote:

Originally Posted by piyush.sharma (Post 4801998)
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.

piyush.sharma 10-10-2012 06:46 AM

I am a Linux user, but if I ever need to develop for windows, I will keep your suggestion in mind. Thanks.

dugan 10-10-2012 09:26 AM

Quote:

Originally Posted by pmvstrm (Post 4801993)
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.

pmvstrm 10-10-2012 04:02 PM

Quote:

Originally Posted by dugan (Post 4802203)
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.

dugan 10-10-2012 05:14 PM

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.

pmvstrm 10-10-2012 06:20 PM

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

dugan 10-10-2012 06:33 PM

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.

pmvstrm 10-11-2012 08:08 AM

I think i will put you in my ignorelist first, i dont talk with redards like you.

dugan 10-11-2012 11:59 AM

Quote:

Originally Posted by pmvstrm (Post 4802963)
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.

jaitrum 01-22-2013 12:57 PM

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.

dugan 01-23-2013 06:20 PM

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.


All times are GMT -5. The time now is 07:23 AM.