Re: Porting from Windows to Mac
Re: Porting from Windows to Mac
- Subject: Re: Porting from Windows to Mac
- From: "Rakesh Singhal" <email@hidden>
- Date: Sat, 1 Nov 2008 20:53:11 +0530
Thanks Andy. I do not need to port to Qt but it is good to know. I will have
to write it from scratch using Carbon C++ application template. The given
link is very useful.
Regards
Rakesh
On Sat, Nov 1, 2008 at 7:27 PM, Andy Bell <email@hidden> wrote:
> Have you seen http://doc.trolltech.com/solutions/qtwinmigrate/index.html ?
> If you need a hand then drop me a line, I have been coding with Qt for the
> last 6 years, using it on Mac and Windows. I guess starting from scratch is
> somewhat of a sledge hammer solution, but if you really want a native Mac OS
> X app then I would use Cocoa anytime, it all depends on the size and
> complexity of the project.
>
> Andy
>
>
>
> On Sat, Nov 1, 2008 at 1:47 PM, Jason Stephenson <email@hidden> wrote:
>
>> 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
>>
>
>
_______________________________________________
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