Talk About Network

Google





Mac > Mac Programmer Tools > Re: Cross-Platf...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 34 of 55 Topic 607 of 637
Post > Topic >>

Re: Cross-Platform Windows plus Mac

by Michael Ash <mike@[EMAIL PROTECTED] > Oct 23, 2007 at 09:40 PM

In comp.sys.mac.programmer.help Steven Fisher <steve@[EMAIL PROTECTED]
> wrote:
> In article <1193091951.878011@[EMAIL PROTECTED]
>,
> Michael Ash <mike@[EMAIL PROTECTED]
> wrote:
> 
>> Would you happen to know of any downloadable Qt apps which look and
behave 
>> like native Mac apps? I would love to see one. I think it would be
great 
>> if there were a viable cross-platform application framework, but so far

>> every single application I've seen which was written in one completely 
>> failed to look or act the way I expected. If there are proper apps
written 
>> in Qt then perhaps my *****sment is wrong.
> 
> Qt3 apps look horrible, and it's probably largely these you've seen. Qt4

> apps look pretty decent. The behavior is largely up to you, though. My 
> product isn't ****pping yet for Mac, but as a Mac developer (currently 
> being held captive in a "Windows first" workplace), I've been able to 
> achieve most of what I wanted.

I have no doubt that a sufficiently comprehensive cross-platform framework

would allow a developer to implement Mac-like behavior, and that there are

such frameworks out there. The real question is how feasible it is. Every 
time I put out such a request, the responses are terrible in many ways. 
I'm forced to conclude that either everyone who uses these frameworks just

doesn't care enough to put in the requried effort, or that the amount of 
effort required to add all the expected Mac behavior is just too large. I 
think it's the latter, because the number of complex behaviors that Cocoa 
(and to a somewhat lesser extent Carbon) provides is enormous, and I'd 
hate to think of having to do all that on my own. And the stuff that you 
don't get for free is often at odds with how other platforms work; for 
example, the Mac preference for sheets over modal dialogs whenever 
possible has large consequences for code flow.

> The places Qt4 falls down are Mac only widgets rounded edit fields (i.e.

> the search type) and progress animations (the "spinning arrows"). I've 
> seen solutions to the rounded edit fields, but they were inelegant for 
> developer and user alike.

I personally don't care very much if your app is using square text fields 
instead of rounded ones. Visual defects don't bother me *that* much unless

it looks like the entire app has just come out of the Ugly factory like 
Google Earth does. What bothers me about text fields is stuff like missing

sup****t for standard keybindings, odd selection and dragging behavior, 
weird context menu items, and other such things. Behavior counts for much 
more than appearance.

> It also doesn't sup****t spell checking in edit fields yet, but I've seen

> some evidence that may be coming soon.
> 
> At this point, I think I would use Qt4 to target a single platform. 
> Project management alone is worth it: you maintain a simple text file 
> (think Makefile, although it's much simpler) with a text editor instead 
> of an XML file that's manipulated with Xcode.

A minor nitpick: Xcode project files aren't XML, they're old-style 
OpenStep property lists. Doesn't make it any easier to edit with a text 
editor though.

How tightly are the Qt build tools tied to Qt? Seems like you ought to be 
able to use them to build native apps too, if you like them that much.

>> If you could elaborate a bit on your reasons for thinking that 
>> Objective-C itself is a problem without resorting to FUD words like 
>> "obscure" and "virtually unknown", I would very much like to know what 
>> they are.
> 
> For me, it's that even now as is poor integration with C++. If I want to

> cross platform business logic, it's going to be in C++. We're almost in 
> 2008, and exceptions can't be passed easily from C++ to the Objective C 
> UI code. That's a very big deal to me.

You use Objective-C++ for the code that has to call into C++, and you wrap

the C++ calls with exception handlers, just like you would do if the GUI 
code were C++. Seems no harder than it would be in something like Qt. Am I

wrong?

-- 
Michael Ash
Rogue Amoeba Software
 




 55 Posts in Topic:
Cross-Platform Windows plus Mac
"Chris Shearer Coope  2007-10-11 15:00:31 
Re: Cross-Platform Windows plus Mac
Reinder Verlinde <rein  2007-10-12 00:22:16 
Re: Cross-Platform Windows plus Mac
Jeffrey Dutky <jeff.du  2007-10-11 22:22:34 
Re: Cross-Platform Windows plus Mac
mlabs <aaron.miramar.l  2007-10-12 07:10:19 
Re: Cross-Platform Windows plus Mac
Simon Slavin <slavins.  2007-10-13 20:43:42 
Re: Cross-Platform Windows plus Mac
"Armel Asselin"  2007-10-22 11:03:19 
Re: Cross-Platform Windows plus Mac
Doc O'Leary <droleary.  2007-10-22 06:52:59 
Re: Cross-Platform Windows plus Mac
"Armel Asselin"  2007-10-22 14:35:48 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-22 11:41:19 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-22 09:48:49 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-22 18:10:17 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-22 17:55:26 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-22 17:25:53 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-23 07:26:23 
Re: Cross-Platform Windows plus Mac
Doc O'Leary <droleary.  2007-10-23 06:16:18 
Re: Cross-Platform Windows plus Mac
Gabriele Greco <gabrie  2007-10-23 13:26:35 
Re: Cross-Platform Windows plus Mac
Sherman Pendley <spamt  2007-10-23 11:00:44 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-23 09:26:15 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 20:41:13 
Re: Cross-Platform Windows plus Mac
Tom Harrington <tph@[E  2007-10-24 15:33:16 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 22:17:12 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-24 18:52:35 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-25 10:48:42 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-25 21:18:27 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-26 11:44:06 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-10-26 23:21:16 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-27 06:52:40 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-23 10:47:18 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 22:08:24 
Re: Cross-Platform Windows plus Mac
Tom Harrington <tph@[E  2007-10-23 10:00:07 
Re: Cross-Platform Windows plus Mac
Simon Slavin <slavins.  2007-10-25 20:19:27 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-25 17:48:44 
Re: Cross-Platform Windows plus Mac
Steven Fisher <steve@[  2007-10-23 21:32:00 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-23 21:40:56 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 20:56:43 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-10-25 16:29:53 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-25 17:52:58 
Re: Cross-Platform Windows plus Mac
Gabriele Greco <gabrie  2007-10-26 11:18:20 
Re: Cross-Platform Windows plus Mac
glenn andreas <gandrea  2007-10-26 08:52:11 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-26 10:01:16 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-10-26 23:10:42 
Re: Cross-Platform Windows plus Mac
Chris Hanson <cmh@[EMA  2007-10-27 02:00:33 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 01:33:48 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-11-08 10:04:40 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 11:39:25 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-11-08 11:17:18 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 13:35:24 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-11-08 21:42:39 
Re: Cross-Platform Windows plus Mac
glenn andreas <gandrea  2007-11-08 10:05:23 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 11:42:46 
Re: Cross-Platform Windows plus Mac
Steven Fisher <steve@[  2007-10-26 07:40:08 
Re: Cross-Platform Windows plus Mac
Steven Fisher <steve@[  2007-10-26 07:43:35 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-26 10:12:27 
Re: Cross-Platform Windows plus Mac
Steven Fisher <sdfishe  2007-10-27 06:02:07 
Re: Cross-Platform Windows plus Mac
Chris Hanson <cmh@[EMA  2007-10-27 02:09:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 23:00:02 PST 2009.