Slashdot Mirror


In-Depth With Qt 4.4

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.'"

11 of 253 comments (clear)

  1. Re:I stopped caring about Qt by PitaBred · · Score: 3, Insightful

    libqt-mt is about 10MB on my system. That doesn't seem too ungainly, not to mention QT4 has made large strides into componentizing the library so it's not all just one huge library to load, you can load only the parts you want.

  2. Re:I stopped caring about Qt by pherthyl · · Score: 4, Insightful

    >> On Linux the libraries are now so damn big that non-KDE users wont install them.

    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.

  3. Re:I stopped caring about Qt by Kjella · · Score: 4, Insightful

    It's a most troubling prospect you bring up there, if only there was a way that several applications could share the same library. Maybe we could create some sort of package system, where you download the library just once from something we could call a repository. Then we could have a package manager to sort this out, so that you could have tiny 100kb apps using a 10MB library. Oh, a man can dream...

    Seriously though, it might have been a semi-valid point on Windows but on Linux where he used it it's complete nonsense.

    --
    Live today, because you never know what tomorrow brings
  4. Trolls are great :) by alberthier · · Score: 5, Insightful

    The only drawbacks on Qt I see in the comments here is that the lib is too fat or that C++ is dead. But let's concentrate on What Qt provides:

    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 / .NET descided like Trolltech that C++ was too complicated. Sun created the java language, MS the C#, Trolltech just decided to limit themselves to a subset of C++ and add some extensions via macros (and a precompiler which generates the boilerplates) but globally the aproach is similar.

    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.

    1. Re:Trolls are great :) by master_p · · Score: 4, Insightful

      The Qt library is the C++ SDK that the C++ language is missing. I would pay to see the C++ Standards Committee adopt it as the standard C++ toolkit. Now if only C++ got real garbage collection and lambda functions (two features that are really necessary for high end development)...

    2. Re:Trolls are great :) by Ed+Avis · · Score: 4, Insightful

      OTOH, I would pay to see Troll Tech adopt the standard C++ library in Qt, rather than reinventing their own strings, vectors, lists and so on.

      --
      -- Ed Avis ed@membled.com
    3. Re:Trolls are great :) by a.ameri · · Score: 3, Insightful

      Am I the only one who is fascinated by the irony that nowadays, the main selling point of the toolkit that was developed first and foremost as an open source equivalent to Qt, is that it can be used to develop closed source applications?

      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...

      --
      -- /* Those who don't underestand Unix, are condemned to reinvent it poorly */
  5. Re:Excellent by Kjella · · Score: 3, Insightful

    I disagree with the idea that throwing another player into the game is going to do anything to help the user. Actually, they're throwing one out - the arTs sound server. Phonon is not a multimedia framework, it has no intention of implementing anything. It makes life easier for application developers, which honestly shouldn't care more about which media backend is in use than what scheduling algorithm the kernel uses.
    --
    Live today, because you never know what tomorrow brings
  6. Re:I stopped caring about Qt by Enleth · · Score: 3, Insightful

    If your app risks being dismissed by the user for such reasons, you have some serious problems than just the toolkit you are using. Like, well, the app being nothing of particular value usefulness compared to the alternatives or something along these lines.

    --
    This is Slashdot. Common sense is futile. You will be modded down.
  7. Re:Why does Qt get such kudos? by croftj · · Score: 3, Insightful

    Because MSDN only wishes they could touch Qt in ease of programming. C++ compared to Java (and I have to assume it's close cousin C#) is hands down the better choice, with Qt you get the cross platform, garbage collection (not 100% but I have less memory leaks with my Qt programs than with my Java programs) and so much more.

      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 that MS sells one copy of MSDN and lets all of the developers in your company use it? I doubt that! We spend roughly 1700 per year for one developer doing MS/X11 I can make as many applications with it as I like (I'm good, I can write a lot of apps).

      So in the end, the Trolls get the Kudos because they earned them!

    --
    -- Many men would appreciate a woman's mind more if they could fondle it
  8. Re:Why does Qt get such kudos? by justaguylikeme · · Score: 4, Insightful

    Trolltech has never licensed Qt per application. It's per developer seat per year. At our company we use Qt for most major development we do. The ease of use, flexibility, outstanding documentation, cross-platform capabilities, and excellent technical support we receive for the price makes it definitely worth the while. We couldn't develop nearly as much as quickly if we didn't have Qt. We've been using it since version 1.2, and have watched the toolkit mature over the last decade. We're a relatively small shop (5 developers) that has to turn around products quickly across a wide array of platforms. For the things Qt does, we haven't found anything that comes close to doing it better or more simply. The up-front cost is an easy sell to our management team, who are thrilled with our performance.