News for hackers. Stuff that matters.
Re:Qt 5.15 LTS by toyg on Wednesday May 27, 2020 @09:23AM (#23322748)
> we have started working on an abstraction layer for [OpenGL/Vulkan/Metal/Direct3D] a bit more than a year ago. It's called the Qt Rendering Hardware Interface (RHI)

Looks cool, but makes me sad that they have to do it. This industry is so annoying sometimes.

Also, sad to see classic widgets continue to get no love. I know it's a lost cause, I'm just sentimental about it.

Re:Qt 5.15 LTS by jhasse on Wednesday May 27, 2020 @12:13PM (#23325476)
They don't have to. The universal API is called ANGLE and it will work everywhere soon.
Re:Qt 5.15 LTS by de_watcher on Thursday May 28, 2020 @03:00AM (#23334318)
You're a funny guy.
Re:Qt 5.15 LTS by thePunisher on Wednesday May 27, 2020 @08:49AM (#23322360)
I'm very nervous about using Qt since they announced they more or less want to get rid of the free edition due to less than expected income.

And their commercial offerings are very pricey indeed ($6000 a year).

I'd recommend users to switch to wxWidgets.

Re:Qt 5.15 LTS by VadimPR on Wednesday May 27, 2020 @09:11AM (#23322590)
It's not 6k a year, there's a cheaper plan now: https://www.qt.io/en-us/qt-for-small-business
Re:Qt 5.15 LTS by antaviana on Wednesday May 27, 2020 @04:10PM (#23329285)
Didn't Qt also have a similar deal for start-ups a few years ago but that was later discontinued citing of lack of interest?
Re:Qt 5.15 LTS by langitbiru on Wednesday May 27, 2020 @09:58AM (#23323312)
Yeah, $499 per year is reasonable. It's similar to Adobe Creative Cloud all-apps plan pricing.
Re:Qt 5.15 LTS by nextweek2 on Thursday May 28, 2020 @04:30AM (#23334889)
The main criteria to qualify for that is that your turnover is less than $250,000 per year.
Re:Qt 5.15 LTS by Nokinside on Wednesday May 27, 2020 @08:57AM (#23322455)
Re:Qt 5.15 LTS by djsumdog on Wednesday May 27, 2020 @09:28AM (#23322819)
huh, I didn't realize that. Glad there was foresight to think of this stuff early on in the licensing.
Re:Qt 5.15 LTS by edwinyzh on Wednesday May 27, 2020 @09:28AM (#23322816)
Or https://www.lazarus-ide.org/

- Decades of active development - Proven concepts (same paradigm as .Net, VB and Delphi) - Supports a lot of OS/CPU.

Edit: To get started easily with tasks like cross-compiling, getting the trunk edition, and so on, use (https://wiki.lazarus.freepascal.org/fpcupdeluxe) to perform the download and installation.

Re:Qt 5.15 LTS by langitbiru on Wednesday May 27, 2020 @09:53AM (#23323212)
But it's Pascal. :)

Now if there were something like Lazarus, but for Rust, the HN crowds would go nuts.

Re:Qt 5.15 LTS by footnipple on Wednesday May 27, 2020 @11:09PM (#23332974)
Being a very long time Delphi and FreePascal user with tens of thousands of lines of code in active use today, I never understood why pascal wasn't running way out front of Go, Rust, Java and all these other performant languages. It's so straight forward and such a pleasure to work with.
Re:Qt 5.15 LTS by pjmlp on Thursday May 28, 2020 @01:40AM (#23333797)
Because Turbo Pascal/Delphi was the ideal Pascal dialect (after Apple's Object Pascal) and Borland screwed it up.

If Borland had kept their indies demographic, hadn't made their half-backed attempt to Linux with Kylix, the history would most likely played in a different direction.

Re:Qt 5.15 LTS by edwinyzh on Wednesday May 27, 2020 @10:10AM (#23323515)
Pascal/Delphi code is soooooo clean to read and code in! And it's quite modern: https://castle-engine.io/modern_pascal_introduction.html
Re:Qt 5.15 LTS by AnIdiotOnTheNet on Wednesday May 27, 2020 @11:37AM (#23324905)
One wonders why there isn't something like it, but that you can use with any language instead of just Pascal or BASIC or QML+Cpp or whatever the crap Qt uses these days.
Re:Qt 5.15 LTS by pjmlp on Wednesday May 27, 2020 @02:44PM (#23327907)
First they need to make the borrow checker more amendable to something like SwiftUI and UI component libraries.
Re:Qt 5.15 LTS by entha_saava on Wednesday May 27, 2020 @11:24PM (#23333059)
The cognitive overhead of something like rust in non-systems programming is pretty much understated in HN discussions.
Re:Qt 5.15 LTS by rapsey on Wednesday May 27, 2020 @09:02AM (#23322501)
Good luck trying to make a nice looking UI in wx.
Re:Qt 5.15 LTS by enriquto on Wednesday May 27, 2020 @09:10AM (#23322587)
Or in Qt for that matter.
Re:Qt 5.15 LTS by ubercow13 on Wednesday May 27, 2020 @10:50AM (#23324201)
Average Qt (widgets) apps look much nicer than most modern whitespace-vomit webapp monstrosities
Re:Qt 5.15 LTS by enriquto on Wednesday May 27, 2020 @12:10PM (#23325409)
I agree. I just meant that the look of Qt and wx widgets is essentially equivalent (and not a big deal after all).
Re:Qt 5.15 LTS by pjmlp on Wednesday May 27, 2020 @09:23AM (#23322744)
Quite easy, unless one saves money on designers.
Re:Qt 5.15 LTS by thePunisher on Thursday May 28, 2020 @04:21AM (#23334841)
I use the free wxFormBuilder designer, which works great.
Re:Qt 5.15 LTS by pjmlp on Thursday May 28, 2020 @05:16AM (#23335138)
I meant people that work as UI/UX designers.
Re:Qt 5.15 LTS by slezyr on Wednesday May 27, 2020 @09:13AM (#23322620)
Telegram's desktop client uses Qt and all widgets are custom.
[dead]
Re:Qt 5.15 LTS by Macha on Wednesday May 27, 2020 @09:41AM (#23323022)
It's a real enough threat that KDE was worried about it.
Re:Qt 5.15 LTS by de_watcher on Wednesday May 27, 2020 @09:50AM (#23323159)
You can't "get rid of free version".

When you choose this wording or stuff like "someone is worried" then it's a plain FUD.

Re:Qt 5.15 LTS by wooptoo on Wednesday May 27, 2020 @08:56AM (#23322444)
LTS releases are very welcome, more open source software should adopt this release style. So far the Linux kernel, NodeJS, LibreOffice, Django have LTS candidates. Would love Python to join that list.
Re:Qt 5.15 LTS by viraptor on Wednesday May 27, 2020 @12:01PM (#23325254)
What kind of lts term would you expect from python? Django is 3 years, libreoffice I can't find lts, node is 2 years, Linux is 6 years.

Python is supported for ~5 years (closer to 6 in practice) without any promise of an lts release. https://www.python.org/dev/peps/pep-0537/#lifespan Would you want more than that?

Re:Qt 5.15 LTS by wooptoo on Wednesday May 27, 2020 @03:08PM (#23328301)
Thanks, didn't realise Python releases are supported for so long. For Libreoffice the LTS release is called 'Still': https://www.libreoffice.org/download/release-notes/
Re:Qt 5.15 LTS by rat9988 on Wednesday May 27, 2020 @08:58AM (#23322464)
Their LTS aren't available to non paying user I believe.
Re:Qt 5.15 LTS by nly on Wednesday May 27, 2020 @07:59PM (#23331728)
The source code is freely available, and it's really not that hard to build.

https://download.qt.io/archive/qt/5.15/5.15.0/single/

Re:Qt 5.15 LTS by s1t5 on Wednesday May 27, 2020 @08:20AM (#23322102)
Any good alternatives to Qt? I remember looking into the cross-platform desktop development landscape a while ago and being disappointed by the options (Qt, Gtk, Electron).
Re:Qt 5.15 LTS by skriticos2 on Wednesday May 27, 2020 @08:38AM (#23322270)
Unless you consider HTML5 in the browser, the options are quite limited (I guess you do, as you included Electron).

GTK is always GNOME first and has issues most other places or just looks ugly.

wxWidgets always looked off and had the weirdes issues.

Qt (or at least QtWidgets) was fairly solid in design and implementation. Then they kind of put that on ice and started with a second GUI framework (QML) that didn't fit together whatsoever. Now it has a split personality and the widgets part has a hard time to keep up with modern problems like high-resolution screens and and scaling (I'm writing this from KDE, so I know first hand).

Then everyone tried to re-invent the user interface paradigm and that's how we ended up in the current mess. Consistent buttons, input boxes and frameworks were replaced by flashy but fairly unusable interfaces, which of course did not work out. So now we have this weird mix of not letting go and not knowing where to go.

You could go very old school though, with something like http://www.fox-toolkit.org or https://www.lazarus-ide.org/

Re:Qt 5.15 LTS by mehrdadn on Wednesday May 27, 2020 @09:26AM (#23322790)
In what way does wx look "off"? To me Qt is the one that looks "off"... it doesn't feel native. But wx looks and feels like any native app... because it uses native controls...
Re:Qt 5.15 LTS by viraptor on Wednesday May 27, 2020 @12:07PM (#23325374)
Wx is native, but you really need to pay attention to what are the defaults on your platform. Wx either doesn't have those, or they don't align that well with other apps in the system, which is where the "off" feeling may come from. If you spend time designing it to look nice, it will look nice - but it doesn't exactly go out of its way to help you. Then ensure the same for each platform you target. (My experience, YMMV)
Re:Qt 5.15 LTS by skriticos2 on Wednesday May 27, 2020 @02:34PM (#23327750)
Yes, pretty much this. The last time I tried it, the platform had a dark theme style that wx tried to apply, but then ended up with light grey borders within the dark parts of the widgets and there really wasn't a simple solution - there was an unresolved bug ticket.
Re:Qt 5.15 LTS by app4soft on Wednesday May 27, 2020 @08:51AM (#23322388)
> Any good alternatives to Qt, Gtk, Electron?

wxWidgets?

For audio-related software (such as Helio Workstation[0]) there is JUCE.[1]

[0] https://github.com/helio-fm/helio-workstation

[1] https://en.wikipedia.org/wiki/JUCE

Re:Qt 5.15 LTS by jcelerier on Wednesday May 27, 2020 @09:35AM (#23322924)
For reference I'm developing https://ossia.io in Qt (widgets), it does not pan out too bad I think (https://raw.githubusercontent.com/OSSIA/score/master/docs/sc...)
Re:Qt 5.15 LTS by app4soft on Thursday May 28, 2020 @08:57AM (#23336674)
FYI, OSSIA failed on start under Debian 10 :/

    $ ./score-v3.0.0-a4-Linux.AppImage
    Illegal instruction
Re:Qt 5.15 LTS by jcelerier on Thursday May 28, 2020 @10:08AM (#23337380)
yeah, I was a bit ambitious and required an AVX cpu for the alpha but you're the second person with a CPU without even SSE4 in less than two weeks so I'll revert to a SSE2 baseline :/
Re:Qt 5.15 LTS by app4soft on Wednesday May 27, 2020 @02:06PM (#23327307)
Looks nice! Will try your AppImage builds tomorrow ;)
Re:Qt 5.15 LTS by jstimpfle on Wednesday May 27, 2020 @08:55AM (#23322436)
I'm just doing stuff myself, using C with OpenGL and some platform code. I can already target the web using emscripten. I'll be able to compile to Android in the future.

It is a tough learning curve but I'm starting to see the light. Depending on your application, completely self-contained GUIs don't actually need that much code - it's mostly the knowledge of how to architect them.

A hard problem is how to approach construction of Widgets and hierarchies of control elements. The traditional OO centric approach is far too much boilerplate to be practical without a huge third-party library, but the Immediate GUI approach which got talked about a lot recently is maybe a little simplistic. I think I've found a good middle ground between "immediate" and "retained".

Re:Qt 5.15 LTS by krzat on Wednesday May 27, 2020 @09:14AM (#23322633)
You should look at modern UI libraries like Flutter or SwiftUI. It's a lot like immediate UI, but:

- it is capable of storing state: storing position in scroll view, which page is currently visible, etc. - it tracks dependencies, so ideally UI building code is executed again only if something changed that would affect it's output.

Re:Qt 5.15 LTS by jstimpfle on Wednesday May 27, 2020 @09:22AM (#23322740)
The approach I currently take is I just re-layout on each frame. If you have <1000 elements visible on the screen, I don't think that will ever be a problem. I currently have only about 20 though, so I don't really know.

The important point is that I don't allocate and re-initialize the state of all controls. It's enough if you do from scratch the layout - that gets much simpler if you don't have to code a diff against the previous state.

So I basically have a simple Widget abstraction - a draw function and a process-input function + some identification data (implemented as a union of void-ptr and int). I can then make lists of these abstract Widgets, and each list represents the set of childs of a superordinate element.

This abstraction allows me to construct hierarchies and to have unabstracted and very flexible code for the layout, while the layout and input processing code can be generic - it's a simple loop over the list, calling the callback with the abstract handle.

If there are ever performance problems you can still fluidly move more towards some retained layout state. This for sure will require more complex code, but if you just do it for complex layouts with lots of elements, I figure you get the best of both worlds.

Mouse and drag handling is a little bit tricky as well - how to keep sending events to the slider control widget for example even if the mouse is temporarily outside the widget? The important realization is that dragging needs global state. You set the mouse globally as "grabbed" and provide a callback to execute when there are more mouse events.

Re:Qt 5.15 LTS by fctorial on Wednesday May 27, 2020 @09:07AM (#23322549)
That would require knowledge of every platform specific graphics stack (wayland, win32, cocoa, ndk). How is this a feasible approach? Are you making your own custom cross platform framework?
Re:Qt 5.15 LTS by jstimpfle on Wednesday May 27, 2020 @09:14AM (#23322631)
No I'm just doing OpenGL. This is about cross platform - I don't really use the platform specific fuss. I need a window to draw to, and maybe a little file writing or networking code.

I don't do Macs so far, so I can't tell you about that. I have a little boilerplate for setting up a window and getting input events for X11 (Linux) and Win32/GDI. It's about 300-400 lines each.

You can opt to use GLFW3 instead to target all the big platforms with a single file that is also 300-400 lines. Mac is supported, too. I have mostly ceased to use GLFW since I prefer to code the stuff myself to have absolute control in case I need it, and to understand the issues of the platforms I have dealt with - but frankly GLFW is a very good and sleek library to get an OpenGL window and some inputs.

Getting to the web using emscripten was similar. They support an older GLFW2 API so it was a matter of maybe 30 minutes to convert my GLFW code to run on the web. They also have a HTML5 API (html5.h) which is probably better, so I expect to add another couple hundred lines later at some point for that.

Emscripten / the Web required me to port my desktop OpenGL code to OpenGL ES 3.0, which was quickly done and a very good idea to do anyway.

And after all, the OpenGL rendering backend code is not that big either if your architecture is right. Mine is currently 700 lines, and it supports solid faces, textured faces, alpha-channels, subpixel font rendering - all of course for 2D and 3D.

Re:Qt 5.15 LTS by Ingon on Wednesday May 27, 2020 @08:35AM (#23322242)
Instead, I’m looking for a static, strongly typed language, that gives me native bindings for each platform’s gui. I think I’m fine with doing the abstraction bit myself, where and when needed. Any recommendations?

Last time I had to do a gui, I chose JavaFX, and it was fine. But I’m still looking for native options, even if I have to implement the ui 3 times.

Edit: to clarify, I’m looking for something beyond C/C++

Re:Qt 5.15 LTS by capitol_ on Wednesday May 27, 2020 @08:52AM (#23322400)
I'm amazed that it has been 15 minutes and noone have said Rust yet ;)

It you want to explore the Rust option, here is an overview of the status of GUI toolkits in Rust: https://areweguiyet.com/

Re:Qt 5.15 LTS by mehrdadn on Wednesday May 27, 2020 @09:27AM (#23322813)
I think wxWidgets has binding for other languages like Python?
Re:Qt 5.15 LTS by VHRanger on Wednesday May 27, 2020 @08:59AM (#23322466)
D, go, or rust
Re:Qt 5.15 LTS by jhasse on Wednesday May 27, 2020 @08:24AM (#23322135)
wxWidgets.

Also - while a lot more low-level - Skia. Sublime Text/Merge and Aseprite are using it.

Re:Qt 5.15 LTS by red2awn on Wednesday May 27, 2020 @09:34AM (#23322917)
Sublime doesn't really use Skia anymore, as per this (https://news.ycombinator.com/item?id=23312357) comment.
Re:Qt 5.15 LTS by BiteCode_dev on Wednesday May 27, 2020 @08:33AM (#23322222)
I love this one: simple, light, good Python bindings, decent cross plateform support and not hard to install.

But show an app made with it to anybody below 30 and they will call you an ancient fossil.

If something doesn't have transition and gesture nowaday, you better market it to accountants because the general public won't want it.

Re:Qt 5.15 LTS by bjoli on Wednesday May 27, 2020 @09:06AM (#23322548)
If the app is free, I would just politely ask such users to eff off. On the other hand I am probably as far away from iPad-damaged demographic that you can come: Emacs isn't enough of an OS, I have to leave it a couple of times a day and I hate every single minute of it.

Everything I do on a computer, apart from the odd movie I watch, is centered around information in text form, yet literally every program except decent text environments try their best to ruin working with text. The only place where I think a non-text-based ui actually adds something is in calendar applications, yet most of the suck as well.

So I sit here alone with the marvel that is 1980s technology, thinking most things regarded as "modern" in computing are a farce.

The only new general purpose tool I can stand is VSCode, where my o my critique is that it isn't emacs (and that multiple cursors are a decent but not a great replacement for macros)

Re:Qt 5.15 LTS by varelaz on Wednesday May 27, 2020 @08:27AM (#23322170)
In most cases alternative is a web product. I hardly install new soft, only if reason is very strong.
Re:Qt 5.15 LTS by abjKT26nO8 on Wednesday May 27, 2020 @08:27AM (#23322169)
Are there (even non-cross-platform) toolkits that provide better developer experience than Qt?
Re:Qt 5.15 LTS by MaxBarraclough on Wednesday May 27, 2020 @09:17AM (#23322670)
I still think the FOX Toolkit deserves another chance. A lightweight C++ GUI toolkit for Linux and Windows. But I can see that the hard-coded Windows 95 theme, lack of modern browser integration, and little recent activity (but non-zero), might be off-putting.

http://fox-toolkit.org/screenshots/iims3.png

edit Too late I see skriticos2 already mentioned FOX.

Re:Qt 5.15 LTS by varelaz on Wednesday May 27, 2020 @08:43AM (#23322311)
I know that JetBrains are using Java Swing for their IDEs and they look pretty native on OS X and Windows
Re:Qt 5.15 LTS by oweiler on Wednesday May 27, 2020 @08:43AM (#23322313)
You may want to consider JavaFX, which nowadays supports creating binaries with GraalVM.
Re:Qt 5.15 LTS by billfruit on Wednesday May 27, 2020 @08:49AM (#23322356)
May be JavaFx, though their documentation is not very extensive.
Re:Qt 5.15 LTS by Ingon on Wednesday May 27, 2020 @09:03AM (#23322512)
Some of it is just well hidden. For example, there is no direct link to the CSS reference, but if you browse through the Java doc, you find https://openjfx.io/javadoc/14/javafx.graphics/javafx/scene/d....
Re:Qt 5.15 LTS by novalis78 on Wednesday May 27, 2020 @08:28AM (#23322181)
Disappointed how?
Re:Qt 5.15 LTS by gindely on Wednesday May 27, 2020 @10:11AM (#23323537)
Electron is slow and lethargic. Even the highly optimised VS Code makes me switch to gvim several times a day because input doesn't go in sequence; it seems to process easier input first rather than earlier input first.

You can use Gtk to make executables on Windows and MacOS, but it's not comfortable and the resulting guis are ugly. They do not take advantage of the full provisions of the platform. Gtk is less cross platform, and more a foundational Gnome library that someone has ported to Windows and MacOS. No support for two major operating systems.

Qt I can't speak to.

WxWidgets seems to be a little .. dated. The screenshots on their website look like programs that were acceptable for a technical user 15 years ago. Has it moved on from that? Dunno. No support for two major operating systems.

Re:Qt 5.15 LTS by ognarb on Wednesday May 27, 2020 @08:35AM (#23322247)
The release looks great. All the 3d stuff is very interesting. I still hope we will soon get a tree view in QtQuick.
Re:Qt 5.15 LTS by Kelteseth on Wednesday May 27, 2020 @08:47AM (#23322351)
Re:Qt 5.15 LTS by A4ET8a8uTh0 on Wednesday May 27, 2020 @09:02AM (#23322507)
Hmm. I just started playing with QT and I really like how easy it was to create simple database interface. It may not be pretty, but it is very functional. The change to commercial is a little sad, and I understand the money part. I just wish they did not require an account to do it.
Re:Qt 5.15 LTS by de_watcher on Wednesday May 27, 2020 @10:38AM (#23323997)
The real news is Qt6.
Re:Qt 5.15 LTS by gigatexal on Wednesday May 27, 2020 @08:05AM (#23321995)
QT is so open source unfriendly who cares they released a new version?
Re:Qt 5.15 LTS by jcelerier on Wednesday May 27, 2020 @08:06AM (#23321999)
https://doc.qt.io/qt-5/lgpl.html

> Qt is available under the GNU Lesser General Public License version 3.

Re:Qt 5.15 LTS by vetinari on Wednesday May 27, 2020 @08:12AM (#23322044)
Qt offering changes 2020 (https://www.qt.io/blog/qt-offering-changes-2020)

- Installation of Qt binaries will require a Qt Account

- Long-term-supported (LTS) releases and the offline installer will become available to commercial licensees only

---

Starting with Qt 5.15, long term support (LTS) will only be available to commercial customers. This means open-source users will receive patch-level releases of 5.15 until the next minor release will become available. This means that we will handle Qt 5.15 in the same way as e.g. 5.13 or 5.14 for open source users.

Re:Qt 5.15 LTS by rleigh on Wednesday May 27, 2020 @09:20AM (#23322710)
> - Installation of Qt binaries will require a Qt Account

vcpkg install qt5

With vcpkg and other alteratives in the picture, it's far less hassle to use that than mess around with the slow and flaky installer tool.

Re:Qt 5.15 LTS by enriquto on Wednesday May 27, 2020 @08:19AM (#23322087)
> Installation of Qt binaries will require a Qt Account

How is this compatible wit the LGPL? Can't I host a compiled copy of Qt and let the world install it?

Re:Qt 5.15 LTS by deng on Wednesday May 27, 2020 @08:25AM (#23322143)
> Can't I host a compiled copy of Qt and let the world install it?

Of course you can do that, as long as you respect the LGPL. That's what pretty much every Linux distribution is doing. It's just that the old Qt offline installer by the QtCompany is no longer available.

Re:Qt 5.15 LTS by gsnedders on Wednesday May 27, 2020 @08:25AM (#23322141)
Qt is released under two different licenses: there's the open source release and the commercial release.

Qt hasn't for a while distributed binaries for the open source release, but there were publicly downloadable binaries for the trial version of the commercial release which is what has now gone. But as you say, nothing stops _others_ from distributing binaries for the open source release.

Re:Qt 5.15 LTS by csdreamer7 on Wednesday May 27, 2020 @08:33AM (#23322216)
The Qt company owns the copyright to the Qt source code so they can sell (L)GPL exceptions. Bundling LGPL code in a binary, as mobile may require, instead of loading as dynamic library, requires you to get an LGPL exception from the copyright holder (or provide an object file for the user to relink). Other licenses, like Apache and the EPL, do not have this issue.

Companies can do this for open source projects. They require you to sign a contributor agreement handing over over copyright or require you license the code to them under the MIT. For the most part, differs based on region and IANAL.

Edit: corrected in () that you can comply with the LGPL with static binaries with providing an object file to the user to relink with.

Re:Qt 5.15 LTS by enriquto on Wednesday May 27, 2020 @08:40AM (#23322286)
> Bundling LGPL code in a binary, as mobile may require, instead of loading as dynamic library, requires you to get an LGPL exception from the copyright holder.

How come? The LGPL allows people to distribute statically compiled binaries that use Qt, you do not need an exception for that.

Re:Qt 5.15 LTS by csdreamer7 on Wednesday May 27, 2020 @10:03AM (#23323393)
> The LGPL allows people to distribute statically compiled binaries that use Qt

Hmmm... you can as long as you provide an object. Learned something new today. I do remember Mike discussing that on Coder Radio that would be an issue in the security industry. I assuming there were some aerospace libraries that are NDAed/restricted by national security laws.

https://stackoverflow.com/questions/10130143/gpl-lgpl-and-st...

http://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynamic

Is this possible on iOS? Not familiar with iOS dev, but I assume Apple may have some TOS problems with that.

Re:Qt 5.15 LTS by jcelerier on Wednesday May 27, 2020 @11:15AM (#23324590)
It is, Cisco does it for one of their apps which uses Gstreamer on iOS.

See the note here at the end: https://github.com/freedesktop/gstreamer/blob/master/README....

Re:Qt 5.15 LTS by thebruce87m on Wednesday May 27, 2020 @08:49AM (#23322364)
Can’t you bundle it in a binary as long as you provide an upgrade path for the QT part? I know this doesn’t work for mobile because users can’t do it due to the app stores, but for an embedded MCU application you could allow re-linking and reflashing of the hardware.
Re:Qt 5.15 LTS by jhasse on Wednesday May 27, 2020 @08:26AM (#23322153)
If you compiled it yourself, yes. The Qt source code is available under the LGPL (among other options), the binaries provided on the Qt website are not.
Re:Qt 5.15 LTS by Thev00d00 on Wednesday May 27, 2020 @08:24AM (#23322137)
Correct, you can do exactly that.
Re:Qt 5.15 LTS by enriquto on Wednesday May 27, 2020 @08:26AM (#23322147)
So how does this make Qt "anti open-source"? I'm not saying that they aren't, but they are under no obligation to provide binaries to anybody (under any free software license). Many bona-fide free software packages do not provide binaries at all.
Re:Qt 5.15 LTS by shakna on Wednesday May 27, 2020 @08:48AM (#23322352)
Qt have indicated to KDE that they'll be lagging the open source code behind the binaries by upwards of twelve months. [0]

> But last week, the company suddenly informed both the KDE e.V. board and the KDE Free QT Foundation that the economic outlook caused by the Corona virus puts more pressure on them to increase short-term revenue. As a result, they are thinking about restricting ALL Qt releases to paid license holders for the first 12 months. They are aware that this would mean the end of contributions via Open Governance in practice.

[0] https://mail.kde.org/pipermail/kde-community/2020q2/006098.h...

Re:Qt 5.15 LTS by vetinari on Wednesday May 27, 2020 @08:34AM (#23322234)
You won't get any sources to 5.15.x after 5.16 or 6 is out.
Re:Qt 5.15 LTS by torarnv on Wednesday May 27, 2020 @08:42AM (#23322298)
That's incorrect. The 5.15 branch is and will be public. Most if not all changes to that branch will go via the dev (Qt 6) branch, which is also public.
Re:Qt 5.15 LTS by vetinari on Wednesday May 27, 2020 @09:06AM (#23322536)
Straight from the Qt (link above):

> Starting with Qt 5.15, long term support (LTS) will only be available to commercial customers. This means open-source users will receive patch-level releases of 5.15 until the next minor release will become available. This means that we will handle Qt 5.15 in the same way as e.g. 5.13 or 5.14 for open source users.

Re:Qt 5.15 LTS by majewsky on Wednesday May 27, 2020 @08:39AM (#23322275)
So these mirrors don't exist then? https://download.qt.io/static/mirrorlist/
Re:Qt 5.15 LTS by vetinari on Wednesday May 27, 2020 @09:05AM (#23322531)
Again: to 5.15.x after 5.16 or 6 is out.

Or, in more words as Qt pusts it:

> Starting with Qt 5.15, long term support (LTS) will only be available to commercial customers. This means open-source users will receive patch-level releases of 5.15 until the next minor release will become available. This means that we will handle Qt 5.15 in the same way as e.g. 5.13 or 5.14 for open source users.

It has nothing to do whether mirrors do exist or not, when there will be nothing to mirror.

Re:Qt 5.15 LTS by varelaz on Wednesday May 27, 2020 @08:34AM (#23322230)
Sure you can, but QT will not be responsible for compatibility of your binaries, and I for example would not use yours, instead I'll try use some official biniries from Canonical for example even older ones.
Re:Qt 5.15 LTS by phoe-krk on Wednesday May 27, 2020 @08:26AM (#23322149)
Obviously you can. The officially sanctioned Qt binaries will require a Qt account before they can be downloaded though.
Re:Qt 5.15 LTS by ognarb on Wednesday May 27, 2020 @08:31AM (#23322208)
As a matter of fact, all the Linux distribution distribute Qt and I don't remember creating an Qt Account for downloading the KDE/Qt applications I use and Plasma from my distro.
Re:Qt 5.15 LTS by de_watcher on Wednesday May 27, 2020 @09:46AM (#23323096)
> Installation of Qt binaries will require a Qt Account

Distributions ship binaries with OS anyways. You won't have to build it yourself.

Re:Qt 5.15 LTS by vetinari on Wednesday May 27, 2020 @10:28AM (#23323835)
Opensource doesn't mean Linux distributions only.

Project like VLC or QGIS have releases not only for Linux, but for Windows and Mac too.

Re:Qt 5.15 LTS by de_watcher on Thursday May 28, 2020 @02:58AM (#23334309)
Well, when you target Windows or Mac it's a mess anyway: when your project reaches certain level of complexity then you probably build Qt alongside with it.

But I think that adding friction to the "download binaries from some site" is doing nothing more than alienating Windows developers. Qt just must add something like "Sign in with Google/Facebook with one click" because this audience cares about convenience.

Re:Qt 5.15 LTS by pritambaral on Wednesday May 27, 2020 @05:00PM (#23329910)
Don't those platforms have their own package distributions? macOS has homebrew, and I hear Windows has a few.
Re:Qt 5.15 LTS by simion314 on Wednesday May 27, 2020 @08:40AM (#23322283)
It is free software. The complaints are for people that want LTS binary builds for free. I mean how dare someone ask money for their work. You can make your own builds or fork it.

Isn't Red Hat doing the same thing, even worse I think they were obfuscating some stuff just to make things harder for competition.