Trolltech Releases First Qt 4 Technology Preview 95
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."
Re:yeah! (Score:1)
I love Qt! (Score:5, Insightful)
Re:I love Qt! (Score:2)
Re:I love Qt! (Score:1, Interesting)
Re:I love Qt! (Score:5, Informative)
It's only not free if you intend to create non-free programs with it.
It's not free for the Windows version, even if you want to create a free program that will run on Windows, which is why the original poster said crossplatform.
Re: (Score:3, Informative)
Re:I love Qt! (Score:2)
Pretty close to free - Only $31.49 with a book (Score:3, Informative)
Bite the bullet and buy the book. Or consider it $32 for the license and get a free book...
Re:I love Qt! (Score:2)
Re:I love Qt! (Score:1, Informative)
Your wish is trolltechs command. [trolltech.com]
Re:I love Qt! (Score:5, Informative)
Well, no it's not. There is no free edition of Qt for Windows. If you want to develop a program that will run on Windows, you'll need to buy it.
If you can't do Windows, it kind of throws out the whole crossplatform thing.
Re:I love Qt! (Score:1)
That certainly IS cross platform.
Re:I love Qt! (Score:2)
Re:I love Qt! (Score:5, Insightful)
Check out wxWidgets [wxwidgets.org] (formerly known as wxWindows) for an alternative. No, the support isn't as good as Qt, even if you pay. On the other hand, unlike GTK, your app won't look and run like ass on windows. And the community support via IRC and mailing list is excellent. wxWidgets is, in fact, the only toolkit I know of that is mature, cross-platform, and free. (I don't consider GTK to be mature in the cross-platform category)
</plug>
Re:I love Qt! (Score:2, Informative)
Re:I love Qt! (Score:3, Interesting)
On the one hand I agree that wxWidgets is very good.
On the other hand I think that GTK on Windows looks good and works well.
wxWidgets is particularly good if you are writing in C++ or Python. GTK is particularly good for C.
Both are good options.
Re:I love Qt! (Score:3, Interesting)
On to a serious note. GTK+ for Windows did not magically pop out of someone's ass. It had to be ported from X11 to Win32 by hand. There is absolutely nothing stopping anyone from doing to same with free edition Qt.
Re:I love Qt! (Score:1)
wait a minute.....
Re:I love Qt! (Score:5, Informative)
I started to use Wx for an application I'm working on, but it was impossible to even get a decent looking TreeView/CList with checkboxes which resizes in a sane way. After much frustration with Wx I switched to plain GTK in which I could great a GUI the way I wanted to, but now instead I have to look for external libraries for everything like sound playback, database connectivity, networking support, regexps, and much much more. It's like hell to support on several platforms.
If Qt-Free was avaiable on Windows I could stick to Qt-conventions and support the application on all platforms with just a simple recompile.
wxWidgets (Score:5, Informative)
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 [xs4all.nl], 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.
Re:I love Qt! (Score:2)
A non-commercial 3.1.2 version comes with the new $39 book. It is complete and not crippled in any way. Or if you're really cheap, the old 2.x NC version is still on Trolltech's FTP site.
Re:I love Qt! (Score:2)
1. Go to the source and add the features you wanted.
2. Subclass and add a fork for the GTK version of your software. That means that the other version are Crap and the GTK version is ok, this might not seem like a big deal but it means in later version of wXWidgets you may be able to remove your hack. It also means you can do the same hack for the other sub systems without having to make that many chabges.
Re:I love Qt! (Score:2, Informative)
This does not seem to have been posted yet...
I've you really want to have GLP'd QT on Win32 help out here... [sourceforge.net]
Otherwise stop moaning about it.
Re:I love Qt! (Score:2)
OK, I'm not familiar with the all the licensing details (no flames please), but isn't the Windows license for Qt non-GPL (as in you need to pay for it). In that case, wouldn't it be illegal to link a GPL application against it on Windows. I'm guess I've missed something here, can someone give more details?
Try THIS! (Score:2)
While not completely free, a book written by two trolls is available here [trolltech.com] and sold through Amazon.com for $31.49. That book includes a non-commercial version of Qt 3.2 for Windows.
So, you are able to develop free apps across both Windows and Linux for a very nominal cost. Consider it a $32 license fee with a free book if you like.
New and Improved (Score:3, Insightful)
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.
How soon in KDE? (Score:3, Interesting)
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?
Re:How soon in KDE? (Score:3, Informative)
Re:How soon in KDE? (Score:2)
I think you did. KDE 3.3 is a minor release, while KDE 4 will be a major release.
Re:How soon in KDE? (Score:1, Informative)
Now there's 3.3 point release before that
C++ (Score:5, Interesting)
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.
Re:C++ (Score:4, Insightful)
Re:C++ (Score:3, Insightful)
by hack i more or less mean a poorly designed language. of course gcc's implementation is good, but that has little to do with the design of c++. C has many advantages over c++ including but not limited to the fact that: you can write c++ in c (or at least do OOP in C to the similar functionaly of c++) and
Re:C++ (Score:2)
If you don't like C++ but want to do OOP, why not use a better OOP language, rather than hacking it on C? I don't see how hacking pseudo-OOP onto C is better than using a problematic OOP language (C++).
Re:C++ (Score:2)
Re:C++ (Score:1)
Re:C++ (Score:2)
it doesn't mean windows and c++ are better, just that they are the "defacto" standard. i know as well as the others why c++ was chosen for qt, but that doesn't mean i enjoy using the language to do development with it. my motives for programming are not for profit, but for enjoyment. money is a side effect for me really, so if i'm not enjoying it.. why
Re:C++ (Score:1)
Re:C++, bad news (Score:3, Interesting)
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.
Re:C++, bad news (Score:1)
Qt3 also has container classes, Qt4 just has more of them. I for one welcome this, since they are much more useful than the STL ones. Ditto for QString versus string. Standards are great, but the Qt people have the courage to fix their mistakes.
Re:C++, bad news (Score:2)
I don't think you are understanding the purpose of a standard.
Of course they can come up with something better by starting fresh, tailoring it for their environment, and taking advantage of the passage of time since the standard.
I could improve the whole language pretty easily too, but we need to agree on some standards for lots off reasons (I don't think I need to explain them on
The STL is now generally accepted (more
Re:C++, bad news (Score:2, Interesting)
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 improveme
Re:C++, bad news (Score:2)
I don't think you understand the purpose of a standard. The library standard defines what libraries all C++ implementations must support. The standard is there to allow programmers to assume that certain services are available on all implementations. The standard is not there to force all programmers to use a certain set of services that may not necessarily be the best ones to use.
Re:C++, bad news (Score:1)
At this point they have only a couple of options: wait for the standards comitte to catch up with the real world (out of the question for a business); standardize on somebody else's librar
Re:C++ (Score:2)
SVG render ? (Score:3, Insightful)
this would be a great thing to have and cross platform would be a killer feature
IMHO
regards
John Jones
Just to sort things out... (Score:4, Informative)
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.
major clarification (Score:4, Insightful)
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.
Re:Just to sort things out... (Score:2)
This is a contradiction of terms. If it's under the GPL, it is, by definition, usable commercially.
See this FAQ [gnu.org] for more information.
If Trolltech has limited QT such that it cannot be used commercial, then QT is not licensed under the GPL. It may be a variant of the GPL, but it is not the GPL.
Jeremy
Re:Just to sort things out... (Score:2)
Re:Just to sort things out... (Score:1)
They release different versions of Qt under different licenses.
Re:Just to sort things out... (Score:1)
Technically it is triple-licensed, as it can also be used under the QPL -- this is what KDE does. The QPL is easier to combine with certain other free software licenses. See Peter Vandenabeele's answer to "Why did UserLinux decide to not include Qt" in the UserLinux FAQ [userlinux.com].
Re:GPL VS not-GPL (Score:1)
Re:GPL VS not-GPL (Score:2)
I'm pretty certain if you sent a block of code to TrollTech in a letter that said "Can you please add this nice fix I made to your code" that in court that would be an acknoledgement that you are allowing TrollTech to copy your code and put it under it's license.
Re:Just to sort things out... (Score:2)
Erm... if it's GPL, then it can't be "for non-commercial usage only". Not possible, because then it wouldn't be GPL anymore.
You can be commercial with the GPL. No problem. (But not proprietary. Maybe you meant that.)
Here's the GPL FAQ: http://www.gnu.org/licenses/gpl-faq.html
(But yeah, bummer, it's not GPL for Windows. They would really gain in my opinion like they did with GPL'ing it for *nix systems.)
Re:Just to sort things out... (Score:2)
That said, "being able to sell your software" is a pretty narrow description of "commercial use". We use things here internally all the time. R
Re:Just to sort things out... (Score:2)
Yes, the military allways has a hard time with things like this. How good of you to point things out for them. Very patriotic, I might add.
Re:Just to sort things out... (Score:1)
Wrong, see this [gnu.org].
Under the GNU GPL you could even sell copies of the Linux version of QT.
Re:Just to sort things out... (Score:2)
if you want to develop with QT and the Windows platform you must purchase
Even for developing?
What if the developed code is used exclusively by the developer and no one else?
It would seem to make more sense if the commercial license were required upon distribution of QT/Windows code, not development of the application.
Re:Just to sort things out... (Score:3, Informative)
Re:Just to sort things out... (Score:2)
Atleast in articles about (Score:1, Funny)
The nail in the coffin release (Score:3, Interesting)
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.
Re:The nail in the coffin release (Score:3, Interesting)
I do not see how Qt is "moving away from the C++ standard" Trolltech produces a library, standards conformance depends upon your compiler.
Trolltech does not produce their own version of C++; but their library does provide some macros that may appear to change the language. (ie: the new foreach)
You are free not to use these things, or you may use as much fancy-pants standard C++ as your compiler will let you get away with. I mix
Re:The nail in the coffin release (Score:3, Interesting)
The STL is part of the C++ standard. So, when TT decides to create some new template based container classes, hut to create their own rather than using the STL, I consider this to be non-standard.
Microsoft did the same thing years ago, back when the standard wasn't ready. People got really mad at them (which was quite ligit because MS knew this would be bad for developers though good for themselves).
As the standard and its acceptance have improved, MS has improved their compiler and their STL to the poi
Re:The nail in the coffin release (Score:2, Informative)
Trolltech had container classes before C++ was standard. Recently, Trolltech have built in a substantial amount of STL compatibility to their classes. They're not moving away from the standard at all. BTW, the python bindings for Qt are very nice.
Re:The nail in the coffin release (Score:2)
Re:The nail in the coffin release (Score:1)
Err... I don't know about Gnumeric, but AbiWord has had a windows port for well over 4 years... normally I wouldn't be anal about this, but AbiWord's a good program, and I wouldn't want people to think its not available for windows yet when it certainly is.
Re:The nail in the coffin release (Score:2)
Hey, I'm honored to be getting so much attention from the moderators.
Seems to be a battle between those who find it 'overrated' and those who find it 'interesting'.
But I didn't mean to troll. I probably should have chosen a different subject though.
Re:The nail in the coffin release (Score:4, Insightful)
GUIs are inherently object-oriented and amenable to dynamic programming techniques. That's why people like Objective-C (Cocoa), and Smalltalk so much for GUI programming. The STL style of C++ is very anti OOP and anti dynamic programming. Indeed, the creator of the STL, Alexander Stepanov, has said OOP is a hoax. [c2.com] While Stepanov is entitled to his opinion, and the STL is certainly useful for a wide range of tasks, it's silly to try to shoe-horn Qt into a programming style that doesn't fit it's problem domain.
Qt Non-commercial version for Windows (Score:4, Interesting)
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.
Why avoid Qt Non-commercial (Score:3, Informative)
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 copi
Re:Why avoid Qt Non-commercial (Score:2)
Free is out of your price range? [microsoft.com]
Everything else I do agree with however.
But does it work with newer command line tools? (Score:1)
Visual C++ Toolkit 2003 is the command line compiler, roughly comparable to the MinGW 3.0 distribution; it's not the Studio (IDE). I guessed that Qt for Windows required some sort of IDE integration. Even if not, is Visual C++ 2003 compatible with libraries and project files from Visual Studio 6? There are two differences involved here: newer compiler (different flags) and lack of IDE (possible different project file format).
Re:But does it work with newer command line tools? (Score:2)
Re:Why avoid Qt Non-commercial (Score:2)
Re:Qt Non-commercial version for Windows (Score:5, Informative)
Unfortunately, as you can see by those verions, it limits you to certain versions. How long after 4.0 is released until a NC version is available somewhere? For some people this is an insurmountable problem. For others, like me, it's merely an annoyance because Unix/Linux is my primary target platform.
Non-commercial 3.2 version for Windows - $31.49 (Score:3, Informative)
RTFA (Score:1)