Qt4.5 vs Cocoa for native Mac UI [英] Qt4.5 vs Cocoa for native Mac UI

查看:114
本文介绍了Qt4.5 vs Cocoa for native Mac UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了Windows和* nix平台了相当一段时间,我正在考虑搬到Mac开发。我在使用ObjC / Cocoa和C ++ / Qt4.5之间折腾。

I've been developing for Windows and *nix platforms for quite some time, and am looking to move into Mac development. I am tossing up between using ObjC/Cocoa and C++/Qt4.5.

C ++ / moc语义对我来说更有意义,并且提高Qt的知识似乎是一个明智的事情,假设你结束了一个技能集,涵盖更多平台。

The C++/moc semantics make more sense to me, and improving knowledge in Qt seems like a sensible thing to do given that you end up with a skill set that covers more platforms.

我可能会通过跳过Cocoa来限制我的应用程序?

Am I likely to handicap my applications by skipping Cocoa?

示例Qt应用程序看起来很漂亮对我来说,但他们很简单,所以可能不会讲述整个故事。有没有其他优点的Xcode的方式Qt没有,如包装,部署等。

The sample Qt applications look pretty Mac-native to me, but they are quite simple so potentially don't tell the whole story. Are there other pros to the Xcode way that Qt doesn't have, such as packaging, deployment, etc.?

推荐答案

一个简单的方法来回答它:

Here's an easy way to answer it:

如果你正在使用.NET或MFC开发一个Windows应用程序,你会使用Qt来处理你的应用程序吗?如果答案是肯定的,那么这种情况在Mac上可能是一样的。

If you were developing a Windows app with .NET or MFC, would you handicap your applications by using Qt? If the answer to that is yes, then the situation is likely to be the same on the Mac.

一些负面的东西我可以想到从我的头顶:

A few negatives I can think of off the top of my head:


  • 授权

  • Qt应用程式虽然不错,但并不完全是原生UI使用体验,一个本地的UI设计师可以在可可粉碎的头脑。虽然我不能确定所有相同的功能在Qt不可用,我怀疑。

  • Qt总是有点落后。如果微软或苹果出现了一个伟大的新技术,你必须等待Qt开发人员更新Qt。

所有的说,只有你可以确定使用Qt的业务价值。如果你认为跨平台开发将是你的开发的主要部分,那么Qt可能是值得的,尽管有提到的问题。

However, with all that said, only you can determine the business value of using Qt. If you think cross-platform development is going to be a major part of your development, then Qt might be worth it, despite the issues mentioned.

这篇关于Qt4.5 vs Cocoa for native Mac UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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