3 ms·
I only know Qt as a requirement to install for some tools and libraries. Can someone explain the significance of this? Is there a reason people still wait for L
by jeroenhd 3y ago
I only know Qt as a requirement to install for some tools and libraries. Can someone explain the significance of this? Is there a reason people still wait for LTS updates for Qt 5 instead of upgrading to Qt 6?
Edit: thank you for your responses!
- _0w8t 3y agoQT is used for embedded systems that may run for 10 and more years. If a device requires certification, one does not want to upgrade to a newer QT as that may require to certify the software again, while for security fixes the requirements are much more simpler.
- cbhl 3y agoThis announcement mostly affects folks who are using Qt under paid commercial licenses. Qt 5 had "perpetual" licenses that you could buy, but for Qt 6 they switched to a SaaS monthly licensing model. If you're using Qt applications purely in the open source world (e.g. KDE on some Linux distro) there's no new news here.
- ptx 3y agoThere are related old news for the open source world, though, in that Qt 5.x LTS is no longer open source: https://news.ycombinator.com/item?id=25748335 https://news.ycombinator.com/item?id=25748335
- sho_hn 3y agoIt's a bit more complicated than that. - The initial versions of LTS point releases (so e.g. something like a 5.15.0) are open source. The commercial-only begins a few point releases in, say with something like a 5.15.3. - Due to the KDE Free Qt Foundation agreement, also those initially commercial-only point releases do become open source eventually, at a max 12 month delay. This was indeed very controversial when it was done for the first time with Qt 5.15.*, since that is the last major version if Qt 5, which effectively meant no same-day open source maintenance releases for Qt 5 anymore after some point. Within the Qt 6 release series it's less of a big deal, in that by the time a 6.x.y is released commercial-only, usually the next 6.x is already around the corner.
- gettodachoppa 3y ago>If you're using Qt applications purely in the open source world (e.g. KDE on some Linux distro) there's no new news here. A lot of small businesses use Qt for free under the LGPL license (allowing them to keep their application closed-source as long as the user is free to replace the Qt dynamic libraries). For the past several years many new modules are commercial or GPL only, preventing their use by LGPL users. For example, QtWayland, QML Virtual Keyboard, WebGL, Qt Quick 3D. Some companies would bite the bullet and pay for Qt their exorbitant fee, then let the license expire and keep using the old version. As you say, this will no longer be possible. I find Qt 6's license policy awful, I simply don't believe in "pay us forever even if you're happy with an old version". Early on Qt 6 even had a draconian commercial policy that wouldn't allow you to distribute an old binary after if your license was expired and you stopped new development, thankfully they walked this back.
- t90fan 3y agoQT is used a lot in Embedded systems. Years ago, I used to write software for medical devices which used QT, and those were supported in the wild for 10 years. I think its also popular in cars and stuff nowadays.
- EliRivers 3y agoHaving recently seen a product move from Qt5 to Qt6, there sure are reasons! Off the top of my head, some of the things that had to be done: Remove every use of the previous QRegExp class (no longer existed in QT6), which was always bad, and replace it with the similar but slightly different behaving QRegularExpression class. Different enough that it's not just a simple grep. Rip out huge chunks of XML processing code that used QT5 XML libraries that were outright withdrawn, and replace them with alternatives. Rewrite some sound generating code to switch away from Qt5 classes that straight up no longer existed, to something else. Rip out uses of the QT5 web engine classes; I think I recall it was replaced wholesale in QT6, but it was nothing but trouble through its life so there was an outright rewrite of everything using it to just do something non-web instead. Any others that were outright withdrawn we also must have replaced. Can't remember them all, but here's a list: https://doc.qt.io/qt-6/whatsnew60.html#removed-modules-in-qt-6-0 https://doc.qt.io/qt-6/whatsnew60.html#removed-modules-in-qt... Some of those have an extended life in a QT6 "QT5 compatability module", but that's clearly not going to get a lot of security and bugfixes and there's no telling when it might vanish. Lots of very fiddly changes to the Qt metatype system had people trawling through weird and wonderful error messages working out what was going on and how they could replace it. QT6 demanded to be built under C++17; after switching the compiler to that, there sure was a whole lot of old code that either didn't compile at all, or flashed heavily red when the compiler looked at it, that demanded a rewrite. All this, and when you're done, you've got something that's probably functionally about the same as what you had beforehand, but the previous version of the software under QT5 had a decade of use testing and this is brand new. No customer is going to pay for all this effort, so there is very little impetus on anyone to move from QT5 to QT6 if the QT5 version works and updates keep coming. It's only at the end that people are finally forced to make a move.