Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Cross-Platform Development For Windows and OS X 198

An anonymous reader writes to let us know about an article in RegDeveloper detailing the use of Qt, Trolltech's cross-platform C++ toolkit, for development across Windows and Mac OS X. From the article: "QT not only goes across desktops but onto embedded devices as well. So any app you write with Qt will port to an embedded device with a frame buffer running Trolltech's embedded version of QT, called QtopiaCore."
This discussion has been archived. No new comments can be posted.

Cross-Platform Development For Windows and OS X

Comments Filter:
  • well.. (Score:4, Insightful)

    by ADRA ( 37398 ) on Monday November 20, 2006 @04:12PM (#16919838)
    I'll be the first to admit that I'm not very partial to QT, but the title of the article is horribly named. The title implies that the body encompases a general approach to cross-platform development. It doesn't. The article is about "Cross-platform QT development". More importantly, no alternatives are mentioned. The entire development piece is about using QT based technologies to tackel the cross-platform problem. All of this is well and great, but don't sell the article as -the- solution when its a very specific howto implement X for problem Y.
  • by Kjella ( 173770 ) on Monday November 20, 2006 @05:15PM (#16920832) Homepage
    This is blatant slashvertisement.

    For an OSS product. We seem to get a lot of those around here

    Qt's controls are all emulated, it's like using Java Swing when you can use SWT instead.

    Well, they don't look emulated or feel emulated, unlike java. But hey, I'm sure there's some technical reason you're right and noone cares.

    Further more, it requires you to use non-standard c++ syntax together with a 'qt preprocessor'.

    Yep. Which is what permits it to use a signal-slot mechanism which spanks wxWidgets and any other C++ system out there. No more crashes due to dangling pointers, yay!

    The better choice is wxWidgets. It supports platforms, more compilers, has native controls, and it is open source.

    Qt supports plenty platforms, plenty compilers, much better UI design tools and it's open source. I could mention it's a much better library too, but now you're just embarassing yourself.
  • by molnarcs ( 675885 ) <csabamolnar AT gmail DOT com> on Monday November 20, 2006 @06:30PM (#16922020) Homepage Journal
    Still don't see your point - the price is determined by the market. If they can sell it for that much, and at the same time, they can be vastly more popular than wxWidgets (they have LOTS of customers, even though they provide a fully GPL version), that means that the pricing is just right, not ridiculous ;)) QT is simply so good, that people are willing to pay that much for it (and the support you get, which I heard is excellent).
  • by oohshiny ( 998054 ) on Monday November 20, 2006 @07:00PM (#16922386)
    People like to say how wonderful Qt is, but you should think carefully about what you're getting into.

    Almost all of our projects are open source, but occasionally will do some custom commercial stuff. Yet, because the commercial version of Qt has a per developer license, we'd end up paying as much for it as if we did all closed-source development, since it would be impractical to divide our developers that way. And Qt isn't cheap: a couple of thousand dollars per developer. Think carefully about what it would cost you if you introduce Qt and start using it.

    An additional problem with it is that it (gratuitously) uses non-standard C++ extensions. That causes additional development headaches. And the Qt/Embedded version is not even fully compatible with the desktop version, and it's an all-or-nothing proposition (forget about using other toolkits on Qt/Embedded devices).

    Overall, I fail to see the point of Qt for most people. For cross-platform development needs, between Java, J2ME, and wxWidgets, I think all the bases are covered at lower licensing costs and (in the case of Java and J2ME) lower development and maintenance costs and better platform coverage.
  • by Anonymous Coward on Monday November 20, 2006 @08:25PM (#16923456)
    You, sir, just made the most insightful post ever on this blog. I have long held the opinion that anyone who thinks Gnome is better than KDE is suffering from an almost-incurable mental illness and is thoroughly deranged. I once suffered from the mental illness known as "thinking Gnome is superior" but I have since switched to KDE and got cured.

    If you are a Gnome user, have no fear. The cure of your illness does not hurt. Simply install KDE, and don't worry, as long as you keep your Gtk libraries around, all those wonderful Gnome apps will still run. Granted, you will still suffer from brain-dead file dialogs designed for people with all of the intelligence of mucous, but you will be well on your way toward stable mental health.
  • by pherthyl ( 445706 ) on Monday November 20, 2006 @08:26PM (#16923470)
    One other thing. Toolkits like Qt and wxWidgets are complex beasts with lots of corner cases that can screw things up. It takes a lot of testing to get it right. That's another reason I choose Qt over wxWidgets. Qt gets hammered on by the KDE project all the time. Millions of lines of code and just about every type of app you can imagine. What is wxWidgets used in? I can only think of Audacity and VLC, neither of which has a particularly good UI.
  • Re:wxWindows (Score:5, Insightful)

    by EzInKy ( 115248 ) on Tuesday November 21, 2006 @12:46AM (#16925372)

    wxWidgets: supports more platforms and it is TRUE open source in that they don't charge you if you use it commercially. Enough said.


    No, it's really not enough said. If you want to get paid for your work then they should get paid for theirs.
  • by Anonymous Coward on Tuesday November 21, 2006 @05:31AM (#16927766)
    That's much higher than even Visual Studio.

    How much is the Windows + OSX + Linux version of Visual Studio? Better call your MS representative to check.

    No, "does not exist" is not an answer. Anything can be bought for the right price, *especially* at Microsoft. It could be the price of a smallish country though.
  • Re:wxWindows (Score:1, Insightful)

    by Anonymous Coward on Tuesday November 21, 2006 @07:05AM (#16928350)
    EzInKy,

    News flash the vast majority of Qt contributors are NOT paid from those fees. Your logic is flawed. Don't pass GO, and don't collect $200.

    The wxWidget community is proof positive that a true open source community approach can work. The wxWidget community supports each other and no one bitches like a little girl.

New York... when civilization falls apart, remember, we were way ahead of you. - David Letterman

Working...