Re: Porting from Windows to Mac
Re: Porting from Windows to Mac
- Subject: Re: Porting from Windows to Mac
- From: Jason Stephenson <email@hidden>
- Date: Sat, 01 Nov 2008 08:47:32 -0400
Rakesh Singhal wrote:
I do not know about porting Windows code (MFC based) to Mac OS. The existing
code is written in C++. As suggested that it is possible then how to do it?
Do I need to change the existing code (Windows code) very much. I have not
used Qt before this. Does Qt support the MFC?
To answer your last question, "No." Qt is a widget toolkit that serves
the same purpose of MFC, but does so in a very different way, and unlike
MFC is inherently cross-platform.
You will basically need to rewrite the program from scratch. There is no
tool that will automagically turn the MFC code in the application into
something that will work on Mac OS X or anything other than Windows.
Even a few seconds using Google would have answered your questions.
Jason
Regards
On Fri, Oct 31, 2008 at 4:01 AM, Bill Bumgarner <email@hidden> wrote:
On Oct 30, 2008, at 3:14 PM, Tommy Nordgren wrote:
I suggest you port your app to use the Qt framework from TrollTech
(http://www.trolltech.com) It is implemented in C++, and the native layer
on Mac OS X is implemented using Carbon and Cocoa.
You might have to implement some modules in your app differently
depending on target OS, particularly to get native look and feel.
The most important thing with using Qt, is that you will be able to
port your app to any unix dialect that uses X windows, as well.
Qt is good stuff, but be very careful going down this path.
While Qt applications are very portable, the Macintosh Qt apps tend to
stick out like sore thumbs.
Google Earth, likely one of the most popular Qt applications around, is
certainly an awesomely powerful application.
But the UI stinks. It looks bad, it doesn't behave like standard Mac OS X
applications, and it is generally clunky.
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden