什么是一些“最好的”跨平台的C ++ UI工具包? [英] What are some of the "best" cross-platform C++ UI toolkits today?

查看:95
本文介绍了什么是一些“最好的”跨平台的C ++ UI工具包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在便携式现代c ++中编写了一个高性能系统。很多STL和Boost。我想开始构建一些前端到这个系统。通常我会选择使用非c ++解决方案的UI,但这意味着一个非常高性能的用户界面,意味着低延迟响应消息,大量的消息排序和显示等等。我写了很多的.NET中的实时UI,他们完成这个工作很好。但是我真的希望这是一个没有技巧(如Mono)的跨平台,它只是工作。

编辑:



让我扔另一个我只是记得,JUCE。免费用于非商业用途,并且跨平台。只有问题是,开发由一个人控制,但源代码是可用的。



JUCE

解决方案

虽然我不知道你的意思是技巧,我只能给你这些链接。是否最好是由你来决定。




  • wxWidgets。免费用于商业用途。老的,但兼容的API设计(没有例外,没有模板,没有RTTI,没有使用STL)。它使用本机小部件。

  • Qt。现代框架。支持SQL,嵌入式ECMA脚本。包括嵌入式Webbrowser。小部件是CSS可用的,可以放在可变形的画布上。惊人的工具包。它也很快。不是免费的商业使用,但免费为开源项目。




    • 修改:2009年1月14日,诺基亚宣布将Qt纳入 LGPL 许可证,使Qt可用于商业用途 - 免费


  • C ++绑定到着名的gtk +工具包用作GNOME的基础。免费的商业(但不能静态链接)。现代C ++ API。仅GUI工具包。像Qt,它绘制小部件本身。这产生在Windows上有些不好的看法(Qt绘制小部件相当不错)。我没有测试它,所以我不能告诉你的性能。



还有更多。但我只知道那些合理很好地告诉你们他们。


I am writing a high performance system in portable modern c++. A lot of STL and Boost. I'd like to start building some front ends to this system. Ordinarily I would opt to use a non c++ solution to a UI, however this is meant to be a very high performance UI, meaning low latency to respond to messages, high volume of messages to sort and display, etc. I have written a lot of real-time UIs in .NET, they accomplish the job pretty well. However I really want this to be cross platform with no tricks (such as Mono) and have it just work. What are some of the best options to achieve this?

EDIT:

Let me throw in another one that I just remembered, JUCE. Free for non commercial use, and cross platform. Only problem is that the development is controlled by one person, but the source code is available.

JUCE

解决方案

Althought i'm not sure what you mean by "Tricks", i can only give you these links. Whether it's "best" is for you to decide.

  • wxWidgets. Free for commercial use. Old, but compatible API design (no exceptions, no templates, no RTTI, no use of STL). It uses the native widgets.
  • Qt. Modern Framework. Support for SQL, for embedded ECMA script. Includes a embedded Webbrowser. Widgets are CSS themable and can be put on transformable canvas. Amazing toolkit. It's also fast. Not free for commercial use, but free for Open-Source projects.

    • Edit: as of 14. Jan 2009, Nokia announced to put Qt into the LGPL license, making Qt available for commercial usage - free of charge.
  • GtkMM. C++ binding to the famous gtk+ toolkit used as the foundation of GNOME. Free for commercial (but can't link statically). Modern C++ API. GUI Toolkit only. Like Qt, it draws the widgets itself. This yields to somewhat poor look on Windows (Qt draws the widgets quite well). I haven't tested it, so i can't tell you the performance.

There are more. But i only know those reasonable well to tell you about them.

这篇关于什么是一些“最好的”跨平台的C ++ UI工具包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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