Slashdot Mirror


GUI Toolkits for the X Window System

TeachingMachines writes "Leslie Polzer has written a nice summary of the current state of GUI Toolkits for the X Windows System (article title of the same name). Those of you who are planning to spend hours and hours scouring the Internet for a mature cross-platform GUI toolkit may save some time and trouble by reading this summary. Leslie's review covers the pros and cons of using GTK+, Trolltech QT, FLTK, wxWindows, and the FOX Toolkit."

10 of 353 comments (clear)

  1. One thing missed by Doesn't_Comment_Code · · Score: 5, Insightful

    The one thing I don't like about toolkits (not mentioned in her list of cons) is that if you distribute the source code, whoever is compiling needs to have the toolkit.

    I've tried to compile and install programs before and spent a lot of time trying to track down the toolkit libraries.

    This is not a good reason to abondon using toolkits, but it is one negative aspect to take into consideration.

    --

    Slashdot Syndrome: the sudden, extreme urge to correct someone in order to validate one's self.
  2. -1 Troll(tech) by CausticWindow · · Score: 5, Insightful

    This article reads like a Qt flamefest.

    I don't see how Qt's "business like homepage" should have anything to do with how good a toolkit Qt is. The "free for linux not for w32" is of course a valid point, but it's the only one.

    --
    How small a thought it takes to fill a whole life
    1. Re:-1 Troll(tech) by LizardKing · · Score: 5, Insightful

      This article reads like a Qt flamefest.

      Certainly does. He also dislikes C, yet he programs using GTK+. I guess he must be a fan of gtkmm. Frankly, I get the impression that the articles author is a little bit inexperienced, and would be better off learning Java and its Swing API. That will give him a decent grounding in MVC architecture, while keeping him otherwise occupied so that he doesn't write any more articles :)

      Chris

    2. Re:-1 Troll(tech) by Des+Herriott · · Score: 4, Insightful

      Yep, the author obviously has some kind of beef with Qt.

      "Commercial" and "proprietary" are not at all the same thing, but the author believes you need to pay to sell Qt applications. Wrong - you are permitted to sell GPL-licenced software.

      The fact that the toolkit is large and takes a long time to compile (a few hours on a moderate-spec PC) is irrelevant. You don't need to recompile your toolkit every day, and you get binary Qt packages with most Linux distributions anyway.

      "Business-oriented main website" is a non-argument, as you say.

      "Main branch depending on one company" is a non-argument, since even if Trolltech folded tomorrow, a GPL-licenced Qt can be picked up by volunteers, just like any other free toolkit.

      The namespace concern is the only minus point with any merit - on the other hand, I don't see Gtk+ using namespaces either, and that wasn't mentioned as a minus point, was it? (Yes, I know Gtk+ is written in C - but that doesn't alter the fact that it too does not use namespaces)

      This article wasn't a summary, it was a soapbox rant.

    3. Re:-1 Troll(tech) by Xerithane · · Score: 4, Insightful

      I don't see how Qt's "business like homepage" should have anything to do with how good a toolkit Qt is.

      Considering that Trolltech is a business, I think it does reflect the quality of Qt. If Trolltech was a business, and their website looked like half the other OSS projects out there, nobody would take them seriously.

      The "free for linux not for w32" is of course a valid point, but it's the only one.

      That isn't even a valid point. Qt 2.3 for Win32, free.

      --
      Dacels Jewelers can't be trusted.
  3. writing graphics software by dollargonzo · · Score: 4, Insightful

    one of the biggest problems in writing a RAD graphics software is that lots of users want it to interface with a lot of different toolkits, such as motif, qt, gtk, tk, xt, etc. obviously, it would be nice if they all just chose one, but that will not happen anytime soon. now, we[the company in mind] are thinking of writing our own low level toolkit (since the software currently doesn't have its own widgets). this is basically how new toolkits come into existence and the user base is forced to choose at yet another fork in the road. *sigh*

    --
    BSD is for people who love UNIX. Linux is for those who hate Microsoft.
  4. Documentation by lunenburg · · Score: 4, Insightful

    For me, it came down to documentation. I have a moderately complicated GUI Perl app (Perl because it was the language I was most familiar with). I looked into various toolkits, like wxPerl, GTK/Perl, QT/Perl, but ended up using good ol' reliable Perl/Tk.

    The big advantage with picking up Perl/Tk was that the O'Reilly books were extremely informative - good examples on each widget, how they interoperate, how to use them, and larger program examples. The documentation for the other toolkits I considered basically consisted of "look at the arguments this C++ function takes, and use it," which didn't make for an easy time picking things up (wxPerl was the worst in that regard). While an experienced C++ programmer might not have a hard time with that, it was way over my head.

    As a result, though, I have a decent app that runs on X11 and Win32. With the great PAR archiver, I can even package the app up in a nice bundle.

    Good times.

  5. Making Money == Evil? by avdi · · Score: 5, Insightful

    The article's biggest strike against Qt is "Very business-oriented main Web site". What the hell is that about? "I'm shocked, shocked! to find marketing going on in this business!". Clue to the author: Qt is made by a company called Trolltech. Companies exist to make money for their employees and shareholders. One of the ways they do that is by (gasp) marketing themselves on the web. That particular company has gone to great lengths to accomodate free software developers; but they still have to make money somehow. If you object to their business model, just say so. But objecting to the fact that their corporate website is "very business oriented" is like objecting to the fact that Slashdot is "very geek oriented".

    --

    --
    CPAN rules. - Guido van Rossum
  6. Re:Why would you want to use anything but Swing? by truth_revealed · · Score: 5, Insightful

    Why a native C/C++ GUI toolkit?

    - can distribute a statically linked 2 meg executable - quick to install
    - typically only 2 megs of resident RAM used by running program
    - virtually zero startup time
    - much more responsive GUI
    - still runs well on hardware more than 4 years old

    Why not Swing?

    - don't want the 40 meg downloadable JRE footprint
    - don't want Java version hell for your users/customers
    - don't want the 40 Meg of resident RAM required by the smallest running Swing program
    - requires the latest hardware for decent speed.

  7. Agreed. And that's not all... (rant) by Balinares · · Score: 4, Insightful

    I have to agree. Sounds like someone with an axe to pick and yet trying to come across as an "oh look at me I'm knowledgeable and unbiased!" kind of writer. Feh.

    So, let's see.

    First of all, isn't it funny how the author omits to mention how a clean and thoroughly engineered class hierarchy can help you design more modular software that will be much easier to maintain and refactor? Or do people really think that the KDE project has been improving at the pace it has by mere luck?

    > Very business-oriented main Web site

    That's a problem how? Do you really MIND that the site provides info for people other than geeks, along with, you know, a completely up to date documentation for each version?

    > Main branch depending on one company

    This is either pure ignorance or a lie. Typical underhanded FUD. The main branch is GPL'ed, and the KDE Foundation was established to keep the main branch GPL'ed no matter what happens to Trolltech.
    http://www.kde.org/whatiskde/kdefreeqt foundation.p hp

    > Commercial developers and people wanting portability have to pay

    Commercial developpers *ARE* allowed to sell GPL apps, dammit. THIS is the way of Free Software business.
    And Qt 2 is available under for GPL on all the main platforms. That's for portability. Only Qt 3 for Windows requires a commercial license (this wasn't always the case, but according to interviews I read some Windows developpers would routinely use the GPL version in closed source apps, so Trolltech had to discontinue the GPL license on Windows. Thank you, guys. Thank you so much.)

    > Huge sources and binaries, library itself takes ages to compile

    That's C++ for you, dude. Install a binary package next time.
    Additionally, and just because I'm pissed and am most willing to nitpick the bullshit out of existence, 1) Qt ships will ALL the major distribs, and a majority of minor ones -- no need to recompile it, and 2) You don't need to recompile it either for use with older software, as the API is backwards compatible -- which is not the case of all the APIs out there, which he blissfully omitted.

    > Objects not referred by namespace but simple literal prefix "Q"

    And that's a problem how?

    > Dominant Microsoft Windows look

    This is either pure ignorance or a lie. I won't even enumerate the number of looks Qt comes with *natively*.

    In fact, this is so close to the usual Qt FUD you can hear from certain people that I strongly suspect that the whole purpose of the article was a clumsy attempt at slowing the growing popularity of Qt. Well, sorry, but such retarded FUD won't last three minutes on Slashdot. We may be a bunch of bickering nerds at times, but we know our shit.

    If you don't like Qt and are concerned about its growing supremacy, which is your absolute right, then contribute to competing projects to help them improve. Trying to smear shit on competitors will only make your side look desperate. Is this what you want?

    Rant other. Let the moderation begin, I have karma to burn.

    --

    -- B.
    This sig does in fact not have the property it claims not to have.