Slashdot Mirror


Cross-Platform Development For Windows and OS X

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

5 of 198 comments (clear)

  1. wxWindows by also-rr · · Score: 5, Funny

    I have been doing cross platform development with wxWindows and I have to say it makes it easy. So far I have an application which crashes with exactly the same fault* on Windows, OSX *and* Linux! You just can't buy productivity like that with commercial development frameworks. *Error 5: Developer is an idiot who hasn't programmed much since the BBC Master was cutting edge technology.

    1. Re:wxWindows by EzInKy · · Score: 4, Insightful


      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.

      --
      Time is what keeps everything from happening all at once.
  2. Re:What about the GUIs? by Mercano · · Score: 4, Informative
    If you use these things, do the programs look native to the operating system or do they look like Java?
    Java apps should look like native apps, at least, if the developer thinks they should. Its not to hard. Either use AWT for your GUI which will use native widgets (though shoots for the least common denominator at times), or use swing and have it emulate native controls (more or less) by calling UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() ); early on in your code. Granted, neither is perfect, but they don't stick out like swings default (why?) Metal look and feel.
    --
    #include <signature.h>
  3. Re:Better alternative by Kjella · · Score: 4, Insightful

    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.

    --
    Live today, because you never know what tomorrow brings
  4. Have a point by willy_me · · Score: 4, Interesting

    While everyone here appears to think that this is a troll, he actually has a point. Depending on the market it could be the best solution. However, if there is enough demand a competitor could release a MacOS version and steal your clients. And not just the MacOS clients. A company of say 100 with 2 Macs could decide to go with your competitor because of those two lousy Macs... Or a company thinking that someday they might want a Mac would have that much more incentive to avoid your product.

    I read a blog about the business decisions behind the upcoming Mac port of IBM Notes (or do they still call it Lotus Notes?) Anyway, the comment was that Macs make up only 1% of the market but carry 99% of the weight. (Probably a slight exaggeration on their part.) When I say weight I'm referring to making purchasing decisions. They're a very vocal group and the decision to make a *good* native version of Notes was not based on Mac numbers but on the influence that those few Mac users wielded. Moral of the story, don't dismiss Macs just because only a few of your clients have them.

    Willy