Trolltech Releases First Qt 4 Technology Preview
An anonymous reader writes "Trolltech has announced the availability of the first Qt 4 Technical Preview. Qt 4, the next major release of the popular cross-platform C++ application framework which KDE is based on, is scheduled for final release in late Q1, 2005. Download mirrors here, here and here."
I just wish I could use it when developing cross-platform GPL-programs. :(
My other account has a 3-digit UID.
Qt has always been techically superior and rather geek-friendly. Looks like in the new release they have found PHB-friendly names for their existing components. For example, they call the QTL (Qt Template Library - their replacement for STL) "Tulip".
Seems like they have changed more classes than they usually do, and have moved a whole set of "obsolete" classes into a separate compatibility library to help the transition from Qt3 to Qt4. This probably means that developers have a few years to remove these classes from their codebase before they go from "deprecated" to "completely removed".
The press release seems to be quiet about their previous challenge to Java (they have claimed a few months ago to produce a Qt4 that will be in "direct competition" to Sun's offerings). I'm kind of happy about this.
According to the article, they implementing some nice big changes, like a new paint framework, and unicode renderer, etc.
But by Q1 of 2005?
How long after that will we need to wait until KDE switches over? (assuming that QT4 will be a step up from QT3)
KDE team?
Error 407 - No creative sig found
Does Qt still use that layer of C++ compiler workaround cruft?
I never understood why they went and wrote their framework in a language that had such sucky implementations. I think GTK had it right - develop it in a language that works, then provide (de-uglified) bindings for other languages. gtkmm is a very clean API, IMO.
Please correct me if I got my facts wrong.
so...
this would be a great thing to have and cross platform would be a killer feature
IMHO
regards
John Jones
Firstly, under a commercial license (which is ~$1000)
Secondly, under the GPL for non-commercial usage only
However, QT for Windows is not released under the second license, meaning that if you want to develop with QT and the Windows platform - even if you are a non-commercial entity - you must purchase a commercial license (or manage to persuade the nice folk at TT to grant you a license, as a few open source projects have managed to do).
I feel this limits the target market... as one of the reasons to even begin coding in QT (other than the WONDERFUL documentation :p), is the promise of cross platform availibility. I have heard it is possible to compile under win32 platform with cygwin and mingw - but I cannot confirm this
Anyway, as I develop primarily for *nix platforms, this is not a big issue for me, but I would like to see QT opened up for the windows platform. That way I'm not limited in the future if I decide to work with another platform.
I've been using wxWidgets for quite a while. I must admit that it took a little getting used to, but I don't think the parent post does wx justice. Sure wx isn't as mature as Qt, but it is Open Source (which /. ers should like), it can be used in commercial apps (which people that like selling software should like), and the guys working on it put in a ton of time making a great library. The differences between wx 2.4.2 and 2.5.2 are quite impressive, and their current MacOS guy seems to be making an effort to bring wxMac along by leaps and bounds.
Resizing isn't as tough as you think, look into wxSizer objects. If you want a more robust basic tree control, take a look at wxTreeMultiCtrl, or sub-class wxTreeCtrl and make your own. It's the beauty of the system. I've used tree controls in several applications without such pains.
It's always a bit of a trip learning a new GUI toolkit, but the sheer volume of great tools included in wxWidgets overshadows any pitfalls found right now.
Just MHO.
- Sighuh?
I'm not a QT "fanboy," but I have to point out that GPL != non-commercial.
With the GPLed version, you can do whatever you want, but if you distribute your program, it must also be licensed under the GPL.
Sticking feathers up your butt does not make you a chicken - Tyler Durden
I hate to tell you this, but they are doing the opposite of what you (and many other C++ developers) are hoping for.
Instead of slowly migrating towards standard C++, the way that other frameworks have, they are taking deliberate steps towards a more proprietary language.
For example, in QT4, they are moving to new template containers, but instead of using the STL (which even MFC developers tend to use) they having decided to develop their own container classes.
I am a C++ developer, and I recognize that KDE/Qt are better in most ways than Gnome/GTK+, but this release is not acceptable to me.
Unfortunately, when TrollTech tries to find the right balance between it's own interests and those of its community, I think it tries to error on its side, but ends up hurting both itself and the community.
Other frameworks are migrating towards the C++ standard, but Qt seems to be migrating away from it, ensuring a lack of interopability of code and skills.
Other technologies are trying to open up to more languages, but TrollTech has decided that C++ (their own version of C++) is all that anyone needs. Even as a C++ developer, I recognize that this is a bad strategy.
Other open-source projects are moving towards cross-platform (eg. AbiWord and Gnumeric will both be available for Windows soon), but TrollTech continues to keep 90+% of the market (ie. Windows) away from open-source Qt developers and their software.
I've been reading a lot of posts to this article which claim that there is no free version of Qt for Windows. If so, then what's this?
I don't program on Windows, so I can't tell definitively, but that web page reads right. It sounds like there's a GPL version for Windows that lets you write non-commercial software without paying a dime to Trolltech. It's based on version 2.3, but it is Qt.
If I'm wrong here, please educate me.
Qt Non-commercial for Windows is based on ancient Qt 2.3.
Qt Non-commercial for Windows requires Microsoft Visual Studio 6, which is priced out of my league. Most hobbyists on Windows would prefer something that works with MinGW, a port of GCC to Windows, and Dev-C++, an IDE around MinGW.
Qt Non-commercial for Windows is not published as source code and is thus incompatible with libraries published under the GNU General Public License.
Qt Non-commercial for Windows is not compatible with selling copies of the program, even at cost: "A non-commercial setting means that you must not use the package in the course of your employment or whilst engaged in activities that will be compensated. A non-commercial application is an application that cannot be sold, leased, rented or otherwise distributed for recompense."
While not completely free, a book written by two trolls is available here and sold through Amazon.com for $31.49. That book includes a non-commercial version of Qt 3.2 for Windows.
While not completely free, a book written by two trolls is available here and sold through Amazon.com for $31.49. That book includes a non-commercial version of Qt 3.2 for Windows.
Bite the bullet and buy the book. Or consider it $32 for the license and get a free book...
You're right, there are a number of reasons to support standards. But the raison d'etre of standards is simple: compatibility.
This issue is clearly moot in Trolltech's case, because anyone who would be using the QTL is using Qt and will have to distribute libraries anyway.
The side benefits provided by standards can be extensive. For example, using the STL would mean that programmers wouldn't have to learn as much new API.
However, if the standard is ineffective, or the new QTL is enough of an improvement, increased programmer productivity due to the superior tech. will outweigh the initial cost of learning.
The net result of all this is that Trolltech has no reason at all to use the STL merely because it is a de facto "standard."