Slashdot Log In
In-Depth With Qt 4.4
Posted by
kdawson
on Tue May 06, 2008 05:26 PM
from the cute-and-brainy-with-it dept.
from the cute-and-brainy-with-it dept.
QtPi writes "Trolltech has announced the availability of Qt 4.4, the cross-platform software development framework. Ars Technica has an in-depth look at the release, which include an integrated WebKit-based HTML rendering engine, the new Phonon multimedia framework, support for Windows CE, and significant improvements to the QGraphicsView system. 'Qt 4.4 brings a lot of rich new capabilities to the toolkit that are sure to please open source and commercial software developers. It sounds like Trolltech already has some nice plans for Qt 4.5, and we will hopefully get to hear more about the long-term roadmap after Nokia completes its acquisition.'"
Related Stories
Submission: In-depth with Qt 4.4 by Anonymous Coward
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Widgets in QGraphicsView look *really* promising (Score:5, Informative)
Re:Widgets in QGraphicsView look *really* promisin (Score:3, Interesting)
Re: (Score:3, Insightful)
I stopped caring about Qt (Score:2, Interesting)
On Linux the libraries are now so damn big that non-KDE users wont install them.
On Windows the best development tools are moving away from C++.
On Mac it's just plain ugly.
I'm sure the embedded developers are loving it though.
Re:I stopped caring about Qt (Score:4, Insightful)
Parent
Re:I stopped caring about Qt (Score:5, Interesting)
Parent
Re: (Score:3, Informative)
The problem is not the look, it's the feel. It is the way the toolbars work, dialog boxes, etc. It is the way all the pieces fit together to provide a user interface. Qt is impressive but it is not native.
Cocoa and Carbon are actually the same thing. Just different APIs used to access the same elements. Qt adds yet another
Re: (Score:2)
Re: (Score:3, Informative)
What about Google Earth? (Score:3, Interesting)
I think that google engineers have studied several tools for developing this program for multiple operating systems and decided that QT was the best toolkit
Re:What about Google Earth? (Score:4, Informative)
Parent
Re: (Score:3, Insightful)
Frankly, I don't see any reasonable, sincere and unbiased way of arguing that a few megabytes more is enough to dismiss a toolkit completely.
As for the Windows development problem, Visual Studio 2008 which is hailed even on Slashdot as the best (or at least one of the best) Windows IDE out there supports C++ just as well as other languages. So what did you
Re: (Score:3, Informative)
Anyway, Qt is pretty much the only reasonable choice for cross-platform C++ development, and a very strong contender even if you're g
Re:I stopped caring about Qt (Score:4, Insightful)
Parent
Re:I stopped caring about Qt (Score:5, Interesting)
Parent
Re:I stopped caring about Qt (Score:4, Interesting)
While others are like me, and don't give two hoots if the app does something we want or need. I'm far more worried about the ability to paste information between apps, use of standard centralised resources such as the dictionary / thesaurus, support for drag-and-drop conventions, and Mac-style installation and removal mechanisms than whether it's a little ugly or uses a few non-standard keystrokes.
"Using an app that looks significantly out of place in an otherwise consistent UI is very annoying"
Unless of course it's from Apple, who, like MS, seem to be quite happy to break their own look-and-feel guidelines.
"I fully understand why some developers steer clear of Mac support for that very reason, but it is a reality, and it's not going away"
It will however become less significant as Apple's market share grows, because there are more and more new users who're running Windows apps on their Macs via dual-boot or virtualisation, and they're a lot less Mac-like than QT-based ports (even Java stuff is more Mac-like than software written specifically for Windows).
Parent
Re: (Score:3, Insightful)
No Windows user is going to not use your app because C++ is out of fashion on that platform. Only the dumbest Linux users would do something like that.
Re: (Score:3, Insightful)
On Linux the libraries are now so damn big that non-KDE users wont install them.
I take it you run no Java apps at all then? One of those suck down way more than Qt does. Plus it's modular so you can take your pick, but if you want a core + ui + network + sql + xml + svg + unit test + opengl framework yeah it adds up. I think you get a lot more than GTK does though. And seriously, even with all of them you're talking 10-15MB in a world where 4GB DDR2 costs 60-65$.
On Windows the best development tools are moving away from C++.
We'll see, C++ certainly isn't going away fast. The tools are good and there's plenty developers so I wouldn't worry about
Re:I stopped caring about Qt (Score:5, Insightful)
That's ridiculous. Only the hardcore GTK purists won't install qt libs. No one else will ever know or care. You can never please those fanatics. If you use GTK you will have the same problem with hardcore Qt purists. You can safely ignore those idiots.
>> On Windows the best development tools are moving away from C++.
As others have mentioned, that's not the case at all. Visual Studio has excellent C++ support in its latest versions, and there are lots of decent free alternatives (Eclipse CDT, dedicated stuff like QDevelop).
>> On Mac it's just plain ugly.
I can't say much about that since I don't use a mac, but some other people have mentioned that they didn't even notice the difference on some Qt using apps. Once again I doubt it's an issue for anyone except the hardcore purists.
And what's the alternative? Write a custom UI for each platform? Maybe if you have resources to burn, but these days it's just a huge waste.
Parent
Re:I stopped caring about Qt (Score:4, Funny)
I think you meant that:
On Windows the majority of tools who think they are developers are moving away from C++.
Parent
Re:I stopped caring about Qt (Score:5, Insightful)
Seriously though, it might have been a semi-valid point on Windows but on Linux where he used it it's complete nonsense.
Parent
Re:Framework hell (Score:5, Informative)
I haven't been on Redhat in awhile, so maybe it's still an issue there. I remember RPM being a bitch, but I haven't used RPM since 2002. On Ubuntu, I have exactly one version of libqt-mt installed, and it weighs in at about 11 megs. And because this is Kubuntu, it's installed already.
Parent
Re:Framework hell (Score:5, Informative)
Parent
Excellent (Score:5, Interesting)
Re:Excellent (Score:4, Insightful)
Parent
Help get Qt working in Firefox (Score:5, Informative)
ActiveX WebKit (Score:3, Interesting)
As I understand it, at current ActiveQT is only available under the paid licenses, which makes it difficult to create a F/OSS Windows application that uses such a control (which I happen to want to do).
Are there any ActiveX wrappers to WebKit out there (whether using Qt or not) that are suitable for use in F/OSS projects, or - failing that - any other drop-in ways to get a standards compliant browser pane up and running?
Re: (Score:3, Informative)
Wine uses it. It's as standards-compliant as Gecko, which is probably enough for you (unless it's an evangelical thing)
In any case, it's better than Internet Explorer's ActiveX (where standards are concerned)
NOTE: That link's a bit old, but should be more than adequate.
Trolls are great :) (Score:5, Insightful)
A API that covers the purpose of glib + gobject + gio + atk + pango + cairo + gtk + gstreamer + gecko + libxml2 + goocanvas + internationalization + portability accross Unices, Mac and Windows This is splitted in several modules Core, Xml, Network, Gui, Phonon, Webkit And the main point is that you have all that in the same API with the same object design. If you never coded in Qt, try it before saying it sucks, you will see how straitforward everything is.
Signals/Slots in really a fantastic feature and massively used in Qt
Java /
I use Qt every day and I really don't think I could be as productive with WxWidgets or GTK. Maybe GTK / Vala will be the future real competitor to Qt.
Re:Trolls are great :) (Score:5, Insightful)
Parent
Re:Trolls are great :) (Score:4, Insightful)
Parent
Re: (Score:3, Insightful)
Re: (Score:3, Interesting)
Real lambda functions (not Boost's weird simulation) will be cool.
Re: (Score:3)
Re:Trolls are great :) (Score:4, Insightful)
I wonder how the open source purists who deplored Qt when it was clsoed source and issued jihad against the KDE community and the likes of SuSE and Mandrake for bringing closed source creep into the open source world, feel about the fact that their beloved toolkit is licensed under the "lesser" of the GPL lincences, while Qt is now GPL through and through.
The irony of history...
Parent
Sigh, I was hoping for a free WM devel platform... (Score:5, Informative)
So, just a heads up to anybody else who's interested: Don't bother with it unless you have Visual Studio Professional 2005 or later.
Re: (Score:3, Insightful)
Re:Qt still has a point? (Score:4, Informative)
bullcrap. name a platform qt works on that wx or gtk doesn't? i admit gtk looks crappy on some, but wx looks native on all of them AND provides a shit load of default widgets
Parent
Re: (Score:3)
Re: (Score:3, Informative)
http://library.gnome.org/devel/glib/stable/glib-Threads.html [gnome.org]
http://library.gnome.org/devel/glib/stable/glib-IO-Channels.html [gnome.org]
Granted, Glade is vastly inferior QtDesigner, but such is life.
Re:Qt still has a point? (Score:5, Informative)
The ZSNES developers for one prefer how Qt works [zsnes.com] and R. Belmont (of MAMEdev fame) also stated that the only reason he used GTK+ on the Linux port of Audio Overload was because various portions of the code weren't compatible with the GPL. If they had been, he'd have used Qt instead. I also prefer Qt, hence why I use KDE in preference to anything else and why I view the possibility of Mozilla using Qt [vlad1.com] with some excitement.
I'd go as far as to say that GTK+'s 'killer feature' these days is the licence. The fact that it uses the LGPL as opposed to the GPL and was open sourced well before Qt is why it's remained so popular. In most other respects, Qt is the better toolkit.
Parent
Re: (Score:3, Informative)
The Qt licensing model is that you a license fee per developer, depending on the number of platforms you want to target.
One of the key values Qt brings is the single codebase / multiple platform way of developing.
If you wanted to port a rich client application to Linux and Mac OS/X you would not be able to use your MSDN subscription for much, whereas with Qt you would recompile your app. You would have to be
Re:Why does Qt get such kudos? (Score:5, Informative)
Huh? A Qt license is expensive, but once you have it you can create all the Qt apps you want. At least, that's what my Qt license says. I think you have been misinformed.
But, per application, recurring per year, its expensive
Again, there is no "per application" charge. The "per year" charge is if you want support -- if you don't want/need support, just buy the Qt license and don't renew it after a year. You'll still be able to use the version you bought indefinitely.
And should we port to Linux and Mac OS/X, our licensing fees for MSDN would be £453 (approx $1116) and our Qt fees would be $126,000).
Are you talking about porting a
Parent
Re: (Score:3, Insightful)
Let's see do a decent GUI or even server using MSDN which will go cross platform!
Speaking of licensing fees, just how many developers do you have? Is it safe to assume th
Re:Why does Qt get such kudos? (Score:5, Informative)
- Because QT is cross platform.
- Perhaps it saves enough development effort over the MS stuff that it is worth the cost.
- It has a GPL version on all the major desktop platforms, so fully OSS apps are possible
- Is compiled instead of interpreted
There are probably lots more differences between the platforms that I missed as well. Not all of them would favour QT. Depends what you're looking for I guess.
But it isn't surprising that QT is popular with much of the Slashdot crowd, since it is GPL and supports non-Windows platforms. So I'm not sure why one would even have to ask why people here prefer QT over MSDN and Visual Studio.
Parent
Re:Why does Qt get such kudos? (Score:4, Insightful)
Parent
Re: (Score:3, Informative)
Licensing aside, I rate Qt and wx about the same in features. They both seem to get the native look on OS X, and wxWidgets takes on the Gtk+ theme on X (which is an engine using the KDE theme).
Re:A note on signals and slots (Score:4, Informative)
IIRC, you always could do signals/slots programmatically - after all, moc is not some kind of magic, it just generates all the boilerplate C++ code. It's not exactly convenient, though (not like e.g. boost::signal), precisely because it's not intended to be used manually.
Parent
Re: (Score:3, Interesting)
I do not want to run the MOC myself, neither would I want to have to setup a build action for each file. I just want to press F5 and see my app compile. Anything else detracts from the development process.
I can't buy Qt4, my boss will not buy it.
I did signals/slots programmatically, and it's great. I studied the boilerplate code the MOC creates and simply copied it into templates. Now I don't have to use any special tools.
Another benefit from this is that I can use any function
Re: (Score:3, Informative)