Live data from Hacker News

Qt 5.7 released

blog.qt.io

21–30 of 108 posts

Re: Qt 5.7 released

#21
post #8

With LGPLv3, the Qt company is sending a clear signal it's time to pay if you want to use Qt in a device (the industry being clearly anti-(L)GPLv3). It could be the chance for GTK, if they weren't also busy digging their own grave :-/ http://lwn.net/Articles/691131

What's wrong with paying for an extremely high quality GUI toolkit?

Btw. It's very easy to comply LGPLv3 in proprietary project if you want.

1) If you don't modify the Qt library and link dynamically there is no problem whatsoever.

2) If you modify the Qt library or link statically, it's enough to provide modified version of the Qt library and combined object files that make it possible to relink the application to different version.

Industry loves Qt. You either pay a little or spend little extra effort.

Re: Qt 5.7 released

#22
I want to like Qt but I hate that it needs moc. Also I don't like that it doesn't use much of the STL - it forces you to use classes like "QVector" and "QList" instead of std::vector and std::list.

Re: Qt 5.7 released

#23
post #13
post #10

Earlier quoted context omitted.

Why is the industry anti-LGPLv3? In Layman's terms what are the key differences between LGPL v2.1 and v3?

The (L)GPL3 disallows Tivoization[1]. Unfortunately, device manufacturers (including Apple) have avoided upgrading to the latest version of certain software (e.g. Bash, Samba, GCC) to avoid the (L)GPL3. [1] https://en.wikipedia.org/wiki/Tivoization

[deleted]

Re: Qt 5.7 released

#24

I want to like Qt but I hate that it needs moc. Also I don't like that it doesn't use much of the STL - it forces you to use classes like "QVector" and "QList" instead of std::vector and std::list.

You can use std as much as you want. Qt doesn't force you to use their containers. Moc is not a problem anymore also, it's more an a myth now than anything else.

Re: Qt 5.7 released

#25
post #9

Does anybody have experience with other cross platform GUI toolkits that are still actively developed? It's starting to feel like Qt is going to win it all because they are enduring (and excellent).

libui [1] is a promising new cross platform GUI toolkit. If I need a GUI for a small cross platform desktop app, I will definitely try it. It uses MIT license, which means there is less headache for commercial applications. It is also more lightweight. I have always felt that Qt has a lot of unnecessary classes. libui has C api, but it would be easy to write a nice c++11 wrapper around it. [1] https://github.com/andl…

It has Go wrapper, super easy to use https://github.com/andlabs/ui

Re: Qt 5.7 released

#27
post #12
post #9

Does anybody have experience with other cross platform GUI toolkits that are still actively developed? It's starting to feel like Qt is going to win it all because they are enduring (and excellent).

While it doesn't have a similar commercial backing, wxWidgets is still going strong and is quite solid.

I always wondered why, after all these years, the only alternatives that remain are wxWidgets and Qt. It's a very common pattern, multiplatform gui programming! and after all this time, we only have 2 choices..

Re: Qt 5.7 released

#28
post #9

Does anybody have experience with other cross platform GUI toolkits that are still actively developed? It's starting to feel like Qt is going to win it all because they are enduring (and excellent).

libui [1] is a promising new cross platform GUI toolkit. If I need a GUI for a small cross platform desktop app, I will definitely try it. It uses MIT license, which means there is less headache for commercial applications. It is also more lightweight. I have always felt that Qt has a lot of unnecessary classes. libui has C api, but it would be easy to write a nice c++11 wrapper around it. [1] https://github.com/andl…

Thanks for the pointer. I'm going to watch that project and if it gets to the point where it's settled enough to document, I'll take a deeper look.

Re: Qt 5.7 released

#29
post #9

Does anybody have experience with other cross platform GUI toolkits that are still actively developed? It's starting to feel like Qt is going to win it all because they are enduring (and excellent).

This is pretty amazing to me: http://www.noesisengine.com/

That looks pretty neat. Have you used it? Can it be set to use native widgets?

Re: Qt 5.7 released

#30

I want to like Qt but I hate that it needs moc. Also I don't like that it doesn't use much of the STL - it forces you to use classes like "QVector" and "QList" instead of std::vector and std::list.

I avoided Qt for a long time due to what I'd heard about moc being required. However recent versions support connecting lambdas to slots which is sufficient for my relatively simple application to avoid using moc to set up signals/slots.
Post reply on HN