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 2 of 55 Topic 607 of 637
Post > Topic >>

Re: Cross-Platform Windows plus Mac

by Reinder Verlinde <reinder@[EMAIL PROTECTED] > Oct 12, 2007 at 12:22 AM

In article <13gt3ni4lntm141@[EMAIL PROTECTED]
>,
 "Chris Shearer Cooper" <chrisnews@[EMAIL PROTECTED]
> wrote:

> I'm a C++/Windows developer at a small (well, tiny) company, and I've
been
> asked to explore what it would take to create an application that could
be
> built for both Windows (XP + Vista) and Mac.
> 
> I've never done any Mac programming, so I was hoping people could send
me
> suggestions for books, web sites, tools, etc. that talk about ways to
> accomplish this.

<http://developer.apple.com/>
should be your first stop. From there, you 
will find 
<http://developer.apple.com/do***entation/****ting/Windows-date.html>

>  The application has no UI except for an icon that lives in
> the system tray on Windows (which would be the ... what? ... on Mac),

That depends on what your tool exactly is doing. Apple has a lot of 
things that can appear at the right edge of the menu bar (BlueTooth 
status, sound volume, Air****t status, etc), and there are ways to stuff 
your own menu there (but, as far as I know, no officially sup****ted way).

Alternatives might be
- an application that shows its status in its dock icon
- a preferences plugin
- an application that shows a small,
  optionally floating and/or transparent window
- an application that registers a global hotkey
- any combination of the above

From the information you gave I can not even guess what's best for your 
program.

Opinion: I use Windows at work for hours each day, and can not think of 
anything that lives in the system tray that Microsoft did not provide by 
default that I would miss if it wasn't there. I understand that 
companies want to fight for my attention, but that does not mean I have 
to like that.

> so that makes things easier.

In my book, that makes it harder. There is no 100% match for the System 
Tray, so you may have to choose a whole different solution for your 
application.

> 1) Have two totally separate codebases, one for Windows, one for Mac.

Could be the best idea, if all or almost all of the code would be 
platform specific, anyways. I can not tell that from the information you 
gave.

> 2) Have some code be Windows and Mac specific, and then the core
> functionality be shared code.

That is the normal thing to do, but, depending on what your tool does, 
the amount of shared code might be so small that this is not worth the 
trouble.

> 3) Buy a product like QT

I do not know QT, but would doubt that QT would help at all in creating 
that system tray icon-like thing. I also would expect that whatever else 
this thing does would not contain much UI stuff.

In some cases, the other QT (QuickTime) might be an option for 
cross-platform development, but again, you do not give sufficient info 
whether that would be a realistic option.

> Management has said that if QT is worth it, they'll spring for it, but I
> don't know enough about it to know if (QT + my learning curve on QT) <
(my
> learning curve on Mac + time to sup****t multiple code bases).

In general, you should check that whatever you create does not only look 
like a Mac product, but also feels like it (and do check that both on 
Tiger and on Leopard, due out any day now; I would not bother sup****ting 
anything earlier than 10.4)

Opinion: I have my doubts that QT can pull that off (hm, I just 
downloaded qt-mac-opensource-4.3.2.dmg and looked at a few sample 
applications (I also saw a 'SysTray' example, but could not discover 
that it actually did anything on my Mac). That did not change my 
opinion. Examples:
- The hideous green off its installer window
- Text fields aren't real Mac text fields:
  - no standard font panel
  - services do not work
- highlight color is way too saturated
Overall, for me, a tool would have to be extremely useful for it to 
counteract these shortcomings. I do not think that, in this respect, I 
am that excentric for a Mac user.


Reinder
 




 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:32:32 PST 2009.