News for hackers. Stuff that matters.
Re:Understanding the Layout Process in Qt Widgets by magicmicah85 on Friday September 06, 2024 @11:15PM (#41471247)
QGridLayout is my go-to for applications. I like how it allows a responsive design when resizing. Most of my desktop apps are for simplifying tasks that my coworkers and me are doing, so no one's expecting the most professional look and Qt has gotten the job done.

Have you used Qt Creator? Once I started using this, my app development started flying because I didn't have to edit, run program, edit again. Just drag and drop widgets around, its very nice.

Re:Understanding the Layout Process in Qt Widgets by Joel_Mckay on Saturday September 07, 2024 @12:14AM (#41471393)
Why do your prefer it over https://wxwidgets.org given the licenses?

Personally, I was keen on Qt right up to the 5.x change over. =3

Re:Understanding the Layout Process in Qt Widgets by magicmicah85 on Saturday September 07, 2024 @10:21AM (#41474085)
What's the concern with Qt's licenses? Afaik, their current license works for me.
Re:Understanding the Layout Process in Qt Widgets by ranger_danger on Saturday September 07, 2024 @10:42AM (#41474187)
Qt 5.6 and later switched from LGPL v2.1 to v3. The main difference is the addition of the anti-tivoization clause that the regular GPLv3 has, wherein you cannot sell hardware that integrated Qt without providing a way for the user to replace your copy of the libraries with their own. Although at that point most people just buy a commercial license, and I think the majority of people that complain about this don't have a legitimate use-case that really affects them as much as they lead on.
Re:Understanding the Layout Process in Qt Widgets by Joel_Mckay on Saturday September 07, 2024 @11:12AM (#41474338)
Mostly, 5.x broke many dependencies due to how the linking impacted license compliance issues. This meant users would be left to figure out why several features were turned off in the Debian package built.

I prefer wxwidgets, as its lgpl style license allows static-linking on both open or closed projects without submarine-IP-fees... undeniably useful when cross-porting to some platforms.

We may have differing opinions, as our use-cases likely differ. =3

Re:Understanding the Layout Process in Qt Widgets by ranger_danger on Saturday September 07, 2024 @11:28AM (#41474426)
but both Qt and WX is LGPL ?
Re:Understanding the Layout Process in Qt Widgets by Joel_Mckay on Saturday September 07, 2024 @11:36AM (#41474488)
wxwidgets is a slightly more permissive license than lgpl.

When people must static link on some closed mystery object, than the subtle difference becomes very important.

lgpl works great in the Linux .so design paradigm, but it can cause problems on rare occasion for porting. =3

Re:Understanding the Layout Process in Qt Widgets by ranger_danger on Saturday September 07, 2024 @10:41AM (#41474176)
WX just looks ancient to me, and doesn't have anywhere near as large a community, or as many nice-looking applications built with it. The only big license change in 5.x I'm aware of was moving from LGPL 2 to 3... I don't think that really affects the majority of users unless you're shipping hardware and don't want the anti-tivoization clause.
Re:Understanding the Layout Process in Qt Widgets by Joel_Mckay on Saturday September 07, 2024 @11:15AM (#41474353)
It uses the native OS themes, so should appear as a standard program.

Ever consider what happens when designers try to redefine 40 years of interface inertia. You get Windows Vista or MacOS 8.... lol =3