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."
well.. (Score:4, Insightful)
Re:Better alternative (Score:5, Insightful)
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.
Re:Better alternative (Score:3, Insightful)
understand what you're getting into (Score:4, Insightful)
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.
Re:And this is news? (Score:2, Insightful)
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.
Re:Better alternative (Score:3, Insightful)
Re:wxWindows (Score:5, 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.
Re:Better alternative (Score:1, Insightful)
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)
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.