Cross-platform desktop applications
I've done some Java and C++ development, and have been looking into developing some cross-platform desktop apps. I've known about QT (www.trolltech.com) for a while now, but have never really looked at it. At first I was thinking of using Swing, but QT seems like a pretty good way to go. Not to mention it seems to use native widgets, unlike Swing. Anyone out there using Swing or QT for commercial desktop applications? I'd like to get some feedback on this. Basically, I'd be looking at doing Windows and Mac versions.
Depending on the type of app you are doing, either wxWindows or REALbasic would be a _good_ choice.
Just a quick note. If you think that since Qt has been used in KDE, it's free to use in commercial applications then take a look at this web page from TrollTech's website.
If you wanted to stick with java you might consider the SWT from eclipse:
While we are on the topic of SWT, what's the state of the GCJ (the ahead of time java compiler from GNU).
I think there might be something to say for an cross-platform AOT compiler for Mono or Java that backs to FastCGI, but then that's kinda raw and so 90s. However it wins big on the compatibility area because you code everything, you dont' have to worry about some enterprise library company pulling the rug from underneath you, but then your code would be so raw and custom and crash so often no one would do business with you :D
Some people here will say *cough* philo *cough* your best bet is to do what Microsoft does, write it using Visual C++ 6.0 or Visual Studio.net and ask all the mac and linux users to get VMWare. The cost of ownership for the client is just a few hundred dollars US. Some of your customers will not accept this answer so you'll just have to cry yourself to bed.
What about TK? I think that's pretty portable and freely available
Swing is S L O W. No matter what "they" say, Swing is slow as molasses.
Have a look at http://www.joelonsoftware.com/articles/fog0000000051.html if you haven't already.
Depends a lot on what you need to get done - e.g., if you want to implement some sort of spreadsheet, you should choose a toolkit that makes that easy for you.
Check out Tcl/Tk at http://www.tcl.tk/software/tcltk/ it's cross platform open source toolkit, and if you'd like activestate will provide enterprise-grade support.
Thanks to everyone for taking the time to comment. I think I might try REALbasic. Licensing looks to be fairly inexpensive, $100 for Standard edition, then $600 for the Pro edition. I think this would work better for me as I will be replacing my PC desktop with a shiny new Mac. Unlike QT, I can compile and deploy Mac and Win versions of my software from the Mac, and not have to go over to a Win machine just to recompile my project. Not to mention I'd have to buy two licenses with QT, one for Windows, and one for Mac. That's out of my price range at this time.
Fog Creek Home