• 欢迎访问速搜资源吧,如果在网站上找不到你需要的资源,可以在留言板上留言,管理员会尽量满足你!

【速搜问答】Qt是什么

问答 admin 2个月前 (08-12) 59次浏览 已收录 0个评论

汉英对照:
Chinese-English Translation:

Qt是一个跨平台的C++应用程序开发框架。广泛用于开发GUI程序,这种情况下又被称为部件工具箱。也可用于开发非GUI程序,比如控制台工具和服务器。

QT is a cross platform C + + application development framework. It is widely used to develop GUI program, which is also called component toolbox. It can also be used to develop non GUI programs, such as console tools and servers.

Qt 是一个跨平台的 C++应用程序开发框架。广泛用于开发 GUI 程序,这种情况下又被称为部件工具箱。也可用于开发非 GUI 程序,比如控制台工具和服务器。

QT is a cross platform C + + application development framework. It is widely used to develop GUI program, which is also called component toolbox. It can also be used to develop non GUI programs, such as console tools and servers.

Qt 被用于 OPIE、Skype、VLC media player、Adobe Photoshop Elements、VirtualBox 与 Mathematica 以及被 Autodesk、欧洲空间局、梦工厂、Google、HP、KDE、卢卡斯影业、西门子公司、沃尔沃集团, 华特迪士尼动画制作公司、三星集团、飞利浦、Panasonic 所使用。

QT is used in Opie, Skype, VLC media player, Adobe Photoshop Elements, VirtualBox and Mathematica, as well as by Autodesk, European Space Agency, DreamWorks, Google, HP, KDE, Lucas pictures, Siemens, Volvo Group, Walt Disney animation company, Samsung Group, Philips, Panasonic.

它是 Digia 公司的产品。Qt 使用标准的 C++和特殊的代码生成扩展(称为元对象编译器(Meta Object Compiler, moc))以及一些宏。通过语言绑定,其他的编程语言也可以使用 Qt。

It’s digia’s product. QT uses standard C + + and special code generation extensions called meta object compiler (MOC) and some macros. With language binding, QT can also be used in other programming languages.

Qt 是自由且开放源代码的软件,在 GNU 宽通用公共许可证(LGPL)条款下发布。所有版本都支持广泛的编译器,包括 GCC 的 C++编译器和 Visual Studio。

QT is a free and open source software that is released under the terms of the GNU wide general public license (LGPL). All versions support a wide range of compilers, including GCC’s C + + compiler and visual studio.

历史

history

Haavard Nord 和 Eirik Chambe-Eng 于 1991 年开始开发“Qt”,1994 年 3 月 4 日创立公司,最早名为 Quasar Technologies,然后更名为 Troll Tech,之后又再次更名为 Trolltech,中文名是“奇趣科技”,2008 年 6 月 17 日被 NOKIA 公司收购,以增强该公司在跨平台软件研发方面的实力,更名 Qt Software。

Haavard Nord and Eirik chamber eng began to develop “QT” in 1991. On March 4, 1994, the company was founded. The earliest name was quasar technologies, and then it was renamed as Trolltech. Later, it was renamed as Trolltech in Chinese. On June 17, 2008, it was renamed by Nokia The company acquired to enhance the company’s cross platform software R & D strength, renamed QT software.

该工具包名为 Qt 是因为字母 Q 在 Haavard 的 Emacs 字体特别漂亮,而“t”代表“toolkit”,灵感来自 Xt,X toolkit。

The name of the toolkit is QT because the letter Q in the Emacs font of haavard is particularly beautiful, and “t” stands for “toolkit”, inspired by XT, X toolkit.

2009 年 5 月 11 日,诺基亚 Qt Software 宣布 Qt 源代码管理系统面向公众开放,Qt 开发人员可通过为 Qt 以及与 Qt 相关的项目贡献代码、翻译、示例以及其他内容,协助引导和塑造 Qt 未来的发展。为了便于这些内容的管理,Qt Software 启用了基于 Git 和 Gitorious 开源项目的 Web 源代码管理系统。

On May 11, 2009, Nokia QT software announced that QT source code management system is open to the public. QT developers can help guide and shape the future development of QT by contributing code, translation, examples and other content for QT and QT related projects. In order to facilitate the management of these contents, QT software enables a web source code management system based on GIT and gitorious open source projects.

在推出开放式 Qt 代码库的同时,Qt Software 在其网站发布了其产品规划(Roadmap)。其中概述了研发项目中的最新功能,展现了现阶段对 Qt 未来发展方向的观点,以期鼓励社区提供反馈和贡献代码,共同引导和塑造 Qt 的未来。2012 年 8 月 9 日,Digia 宣布已完成对诺基亚 Qt 业务及软件技术的全面收购,并计划将 Qt 应用到 Android、iOS 及 Windows 8 平台上。

At the same time of launching the open QT code base, QT software released its roadmap on its website. It outlines the latest functions in the R & D project, and shows the views on the future development direction of QT at this stage, so as to encourage the community to provide feedback and contribute code to jointly guide and shape the future of QT. On August 9, 2012, digia announced that it had completed the comprehensive acquisition of Nokia QT business and software technology, and planned to apply QT to Android, IOS and windows 8 platforms.

支持平台

Support platform

使用 Qt 开发的软件,相同的代码可以在任何支持的平台上编译与运行,而不需要修改源代码。会自动依平台的不同,表现平台特有的图形界面风格。

Using QT software, the same code can be compiled and run on any supported platform without modifying the source code. It will automatically display the unique graphical interface style of the platform according to the different platforms.

Linux/X11:用于 X Window System(如 Solaris、AIX、HP-UX、Linux、BSD)。支持 KDevelop 和 Eclipse IDE 集成

Linux / X11: for X Window System (such as Solaris, AIX, HP-UX, Linux, BSD). Support KDevelop and eclipse ide integration

Mac:用于 Apple Mac OS X。基于 Cocoa 框架。支持 Universal Binary。支持以 Xcode 编辑、编译和测试。

Mac: for Apple Mac OS X. Based on Cocoa framework. Universal binary is supported. Support Xcode editing, compiling and testing.

Windows:用于 Microsoft Windows。支持 Visual Studio 集成,也可以使用 MinGW 编译

Windows: for Microsoft Windows. Support visual studio integration, or use MinGW to compile

Embedded Linux:用于嵌入式 Linux。可以透过编译移除不常使用的组件与功能。透过自己的视窗系统 QWS,不需依赖 X Window System,直接写入 Linux 帧缓冲。可以减少存储器消耗。并提供虚拟帧缓冲 QVFb,方便在桌面系统上进行嵌入式测试。

Embedded Linux: for embedded Linux. Components and functions that are not frequently used can be removed by compiling. QWs can write Linux frame buffer directly without relying on X window system. Memory consumption can be reduced. Virtual frame buffer qvfb is provided to facilitate embedded test on desktop system.

Windows CE / Mobile :用于 Windows CE

Windows CE / Mobile: for Windows CE

Symbian:用于 Symbian platform

Symbian: for Symbian platform

Maemo/MeeGo:用于 Maemo

Maemo / MeeGo: for Maemo

Wayland –用于 Wayland 显示服务器,Qt 应用程序可以在运行时切换图形后端,如 X 与 Wayland。

Wayland – for Wayland display servers, QT applications can switch graphic back ends at runtime, such as X and Wayland.

授权模式

Authorization model

Qt 开放源代码,并且提供自由软件的用户协议。使得它可以被广泛地应用在各平台上的开放源代码软件开发中。

QT open source code, and provide free software user agreement. It can be widely used in the development of open source software on various platforms.

Qt 提供三种授权方式。三种授权方式的功能、性能都没有区别,仅在于授权协议的不同。LGPL 和 GPL 是免费发布,商业版则需收取授权费。

QT provides three authorization methods. There is no difference in the function and performance of the three authorization methods, only the difference in the authorization agreement. LGPL and GPL are distributed free of charge, while commercial versions are subject to licensing fees.

Qt 商业版 – Qt 商业授权适用于开发专属和/或商业软件。此版本适用于不希望与他人共享源代码,或者遵循 GNU 宽通用公共许可证(LGPL)2.1 版或 GNU GPL 3.0 版条款的开发人员。提供了技术支持服务。可以任意的修改 Qt 的源代码,而不需要公开。

QT commercial edition – QT commercial license is applicable to the development of proprietary and / or commercial software. This version is for developers who do not want to share source code with others, or comply with the terms of GNU wide general public license (LGPL) version 2.1 or GNU GPL version 3.0. Technical support services are provided. The source code of QT can be modified arbitrarily without being exposed.

GNU LGPL v. 2.1- Qt 4.5.0 及以后的版本开始遵循 GNU LGPL。LGPL 允许链接到它的软件使用任意的许可证,可以被专属软件作为类库引用、发布和销售。可以购买支持服务。

GNU LGPL v. 2.1 – QT 4.5.0 and later began to follow GNU LGPL. LGPL allows software linked to it to use any license and can be referenced, published, and sold by proprietary software as a class library. Support services can be purchased.

GNU GPL v. 3.0 – 如果您希望将 Qt 应用程序与受 GNU 通用公共许可证(GPL)3.0 版本条款限制的软件一同使用,或者您希望 Qt 应用程序遵循该 GNU 许可证版本的条款,则此版本 Qt 适用于开发此类 Qt 应用程序。可以购买支持服务。

GNU GPL v. 3.0 – if you want to use QT applications with software that is subject to the terms of the GNU General Public License (GPL) version 3.0, or if you want the QT application to comply with the terms of that GNU license version, this version of QT is applicable to the development of such QT applications. Support services can be purchased.

Qt 的图形用户界面的基础是 QWidget。Qt 中所有类型的 GUI 组件如按钮、标签、工具栏等都派生自 QWidget,而 QWidget 本身则为 QObject 的子类。Widget 负责接收鼠标,键盘和来自窗口系统的其他事件,并描绘了自身显示在屏幕上。每一个 GUI 组件都是一个 widget,widget 还可以作为容器,在其内包含其他 Widget。

QT’s GUI is based on QWidget. All types of GUI components in QT, such as buttons, labels, toolbars, etc., are derived from QWidget, and QWidget itself is a subclass of QObject. Widget is responsible for receiving mouse, keyboard and other events from the window system and depicts itself on the screen. Each GUI component is a widget, which can also be used as a container to contain other widgets.

QWidget 不是一个抽象类别。并且可以被放置在一个已存在的用户界面中;若是 Widget 没有指定父 Widget,当它显示时就是一个独立的视窗、或是一个顶层 widget。QWidget 显示能力包含了透明化及 Double-Buffering。Qt 提供一种托管机制,当 Widget 于创建时指定父对象,就可把自己的生命周期交给上层对象管理,当上层对象被释放时,自己也被释放。确保对象不再使用时都会被删除。

QWidget is not an abstract class. And can be placed in an existing user interface; if the widget does not specify a parent widget, it will be a separate window or a top-level widget when it is displayed. QWidget display capabilities include transparency and double buffering. QT provides a hosting mechanism. When a widget specifies a parent object when it is created, it can hand over its life cycle to the upper level object management. When the upper level object is released, it is also released. Make sure that objects are deleted when they are no longer in use.


速搜资源网 , 版权所有丨如未注明 , 均为原创丨转载请注明原文链接:【速搜问答】Qt是什么
喜欢 (0)
[361009623@qq.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址