跨平台桌面开发 [英] Cross-platform desktop development

查看:170
本文介绍了跨平台桌面开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要忠告的跨平台引擎/架构台式机应用程序开发(在Windows,Mac和Linux)。我看到3个可能性,QT,Java和Adobe AIR的。

I need an advice for cross-platform engine/framework for desktop PC application development (Windows, MAC, Linux). I see 3 possibilities, Qt, Java and Adobe AIR.

  • 它必须易于安装(运行时是一个缺点,但C ++包装和/或安装程序可以解决我认为这个问题)。
  • 必须要快,并有丰富的GUI(不是3D游戏,但肯定有些2D图形)。
  • 在开发环境必须易于建立和用户界面开发工具必须具备拖放放大器;拖放功能来定义应用程序布局。
  • 目标应用程序必须具有本地外观和感觉。专业付费的支持应该是可用的。

推荐答案

所有这些标准是由Qt的满足,除本机的外观和感觉。有没有这样的东西作为一个跨平台的框架,与本机的感觉,尤其​​是在OS X上,用户都非常苛刻的有关应用程序的感觉。如果你真的想要的本机的外观和感觉,你最好写一个共享的框架,C ++或C#,然后在每个平台上提供原生界面提供(可以使用的MonoMac ,以提供一个原生可可UI使用C#,而不是本机的Objective-C,如果这是你杯茶)。

All of these criteria are met by Qt, with the exception of "native look and feel". There is no such thing as a cross-platform framework with native feel, especially on OS X, where users are very demanding about the "feel" of applications. If you really want native look and feel, you are best served by writing a shared framework in C++ or C# and then providing native GUI on each platform (you can use MonoMac to provide a native Cocoa UI using C# instead of the native Objective-C, if that's your cup of tea).

这是说,我们已经很高兴了Qt(和商业支持)的跨平台开发。特别是新的OpenGL加速的2D场景的API使动画的用户界面非常简单。 QtCreator是一个体面的IDE,具有可视化设计器的支持。

That said, we've been very happy with Qt (and the Commercial support) for cross-platform development. Particularly the new OpenGL accelerated 2D Scene API makes animated UIs quite easy. QtCreator is a decent IDE with visual designer support.

这篇关于跨平台桌面开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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