我可以使用Delphi XE2(v16)轻松地为Mac OS X编译现有的Delphi应用程序吗? [英] Can I easily compile my existing Delphi application for Mac OS X with Delphi XE2 (v16)?

查看:85
本文介绍了我可以使用Delphi XE2(v16)轻松地为Mac OS X编译现有的Delphi应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现有的Delphi 2009应用程序.我看到了新的XE2版本,我们现在可以将Delphi应用程序构建到Windows 32/64,现在也可以构建到Mac OS X!最高支持64位,适用于Mac OS X编译...

I have an existing Delphi 2009 application. I saw with the new XE2 release that we can now build our Delphi application to Windows 32/64 and now Mac OS X! Thumbs up to 64 bits and for Mac OS X compilation...

Mac OS X编译器的性能如何?我们必须怎么做才能将应用程序编译到Mac OS X?它将仅与VCL组件一起使用,还是会自动转换第三方组件?我们现在如何处理OS API调用?

How good is the Mac OS X compiler? What do we have to do to compile our applications to Mac OS X? Will it only work with the VCL components or it will convert third party components automatically? How do we handle OS API calls now?

推荐答案

Mac OSX编译器目前只有32位.将来的版本中将包含64位版本.

The Mac OSX compiler is, at present, only 32 bit. A 64 bit version will be included in a future release.

对于VCL,恐怕您会感到失望. VCL是仅Windows的框架,并将保持不变. VCL非常依赖Windows的体系结构.对于跨平台(Windows,OSX,iOS),XE2附带的新框架称为 FireMonkey .将大型VCL应用程序移植到FireMonkey是一项艰巨的任务.最近有很多关于FireMonkey的博客文章,一些网络搜索将带您进入它们.我会警告您,FireMonkey与VCL完全不同.

As for the VCL, I'm afraid you are to be disappointed. The VCL is a Windows only framework and will remain so. The VCL is hugely reliant on the architecture of Windows. For cross-platform (Windows, OSX, iOS), the new framework being shipped with XE2 is called FireMonkey. Porting a large VCL app to FireMonkey is a significant task. There have been a lot of blog articles just recently discussing FireMonkey and a bit of websearch will lead you to them. I would warn you that FireMonkey is very different from the VCL.

这是一项崭新的技术,因此可能会遇到一些麻烦.该框架要花很多时间,第三方供应商才能完全熟悉它.目前,您不应该期望很快就发布使用Delphi编译的Mac版GUI繁重的应用程序.您应该做的是掌握XE2,了解FireMonkey并计划移植到FireMonkey的策略.

This is brand new technology and so expect some teething troubles. It will take time for the framework to mature and for 3rd party vendors to get fully up-to-speed with it. At the moment, you should not be expecting to ship a GUI heavy app for Mac compiled with Delphi any time soon. What you should be doing is getting hold of XE2, learning about FireMonkey and planning a strategy for porting to FireMonkey.

这篇关于我可以使用Delphi XE2(v16)轻松地为Mac OS X编译现有的Delphi应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆