找回密码
 立即注册
收起左侧

Qt 5.2 Alpha 版本发布!Qt 5.2 正式版11月底正式发布!

9
回复
10509
查看
[复制链接]
累计签到:1570 天
连续签到:1 天
来源: 2013-10-1 09:32:11 显示全部楼层 |阅读模式

马上注册,查看详细内容!注册请先查看:注册须知

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
2013年9月30日,Qt 5.2第一个版本即Alpha版发布!Qt 5.2包含了很多重要更新,当然其中最受关注的更新就是对Android和ios的全面支持,与Qt 5.2同时发布的还会包含Qt Creator 3.0,该版本的最重要更新也是提高对Android开发的支持,相信搭建Android开发环境将更加简单!

这次的Alpha版本只提供了源码下载,有兴趣的同学可以尝试编译一下。Qt 5.2正式版将在11月底前发布,当然,我们不需要等那么久,因为中间还会发布beta版本!

Qt 5.2最最重要的特色就是对手机开发的支持,那时用Qt 编写Android软件将会非常简单,Qter们期待吧!


扫盲:软件在正式发布Release版本前,会发布几个测试版本,依次是:alpha 内测,指开发团队内部测试的版本或者有限用户体验测试版本;然后是beta 公测,即针对所有用户公开的测试版本;最后做过一些修改,成为正式发布的候选版本RC - Release Candidate叫做 gamma。)


中文翻译:

上周我们把开发的代码并入stable分支,开始进入了Qt 5.2的发行阶段。作为发行阶段的第一步,Qt 5.2 Alpha现在已经准备妥当。开源版本可以在Qt Project下载区下载,商业版本则需要在您的用户门户进行下载。Alpha版本主要针对Qt的开发人员,因此只发行源代码。除非您乐意自己编译源码,否则还是等几周后的beta吧。


除了大量的bug修复,Qt 5.2还带来了大量的新功能。这里我们对几个最重要的改变做一下概述。


Android与iOS支持

Qt 5.2是首个完全支持AndroidiOS应用开发的Qt发行版。为支持这两个系统,我们做了大量的工作。现在,Qt已经成为了开发移动应用的一个绝佳方案。

除了WebKit,其它的所有基本模块,在Android和iOS上都获得了支持。这其中包括Qt Core、Qt Network、Qt Gui、Qt Widgets、Qt Qml、Qt Quick和Qt Multimedia。另外Qt add-ons中的Qt Sensors、Qt Graphical Effects、Qt Script以及Qt SVG也已获得支持。在Android上,还有一个专有的Qt Android Extras模块。


新模块

伴随Qt 5.2我们还新增了一些新add-on模块:

最后三个add-on包含的都是各个平台的专有代码,用以补充Qt 5.1引入的Qt X11 Extras。


Qt base模块

Qt Core增加了一些新功能,其中最重要的是新的QTimezone和QCollator两个类。QTimezone与原有的QDatetime一同用于处理时区相关的操作。QCollator则允许开发者进行本地语言相关的字符串排序,这是Qt提供的又一个出色的功能。Qt Network对有关SSL的处理进行了一些改进。Qt Widgets也有一些小的改进,同时增加了一个新类:QKeySequenceEdit。辅助功能(Accessibility)方面,对Mac OS X的支持,加上对Android的基本支持,以及一组用于自定义组件辅助功能的API,现在我们的辅助功能支持又迈进了一大步。


Qt Qml和Qt Quick

近9个月来,我们对QML引擎底层做了大量的工作,这在Qt 5.2中已有了一定成效。Qt Qml现在使用我们自己内建的Javascript引擎,而不再依赖V8,因此QtJSBackend动态库已经被移除。


使用自己内建的引擎而非V8,有很多原因。其中最主要的好处是我们可以在iOS上支持Qt Quick 2。不仅如此,Qml栈的体积也可以削减约5MB,且减少一个以前需要部署的动态库。最后,这使得整个栈可维护性更强,从而令我们未来进步得更快。


尽管在某种程度上,新的引擎执行纯Javascript要略慢于V8,但它却使我们可以在QML以及Qt Quick的常见用例上有更多的优化机会。大量的优化工作仍在发行期中进行,我们希望它能够在5.2.0时获得和Qt Script相当的性能。而至于QML绑定,我们将会看到其对最常见用例的改进。


除此之外,Qt Qml现在支持了文件选择器,可以让您在根据不同的系统及其他因素自定义QML代码时更加轻松。


Qt Quick也有一些重大更新。首当其冲的是,模块中有了新的Scene Graph渲染器,新的渲染器在诸多用例中大幅减少了CPU以及GPU的工作量。新的AnimatorQML类型提供完全运行于渲染线程的动画,即使主线程执行大量长期运行的计算也不会使界面阻塞卡顿。


Qt Quick Controls新增了一些新的特性和控件,比如Switch及Busy Indicator。表格视图现在可以移动列并可以扩展选择。另外,部署工作也得到了极大的简化。


Qt Creator

最后,我们计划在Qt 5.2发行时附带一个新的Qt Creator——Qt Creator 3.0。新的Creator将带来增强的Android支持、iOS的基本支持、多屏扩展、lldb的基本支持以及对Creator插件API的清理。


档期

如上所述,Qt 5.2将带来许多非常值得期待的新特性和新功能,尤其是对于移动设备操作系统的支持,我们更是迈进了一大步。紧随Alpha,我们正在努力以尽早放出Beta。Beta版本将带有可执行文件。在Beta之后,工作将主要集中于RC版本以及5.2.0最终版本。最终版本有望于11月底放出。


同时,在即将到来的柏林和旧金山的Qt开发人员大会上,也会有许多有关Qt 5.2及其新特性的话题。所以如果你想了解的更多,快来加入我们吧。


我想请大家试试5.2,并在我们的缺陷跟踪器上报告发现的问题。





原文如下:(http://blog.qt.digia.com/blog/2013/09/30/qt-5-2-alpha-available/


Last weekend we started the release cycle for Qt 5.2 by branching our development code base into the stable branch. As a first step in the release cycle, the Alpha release of Qt 5.2 is now available. They are available from the Qt Project download area for the open source version and in your customer portal for Qt Enterprise users. The packages are source only and mainly for people already used to developing with Qt. Unless you feel comfortable compiling Qt on your own, you might want to wait for the beta which will come out within the next few weeks.



Apart from numerous bug fixes, Qt 5.2 offers a whole lot of new functionality. Here’s a short overview over the most important things



Android and iOS support

Qt 5.2 is the first Qt release to fully support development of Qt applications for Android and iOS. A lot of work has gone into supporting these two platforms, and now make Qt a great solution for development of mobile applications.



With the exception of WebKit, all essential modules are supported in both Android and iOS. This includes all of Qt Core, Qt Network, Qt Gui, Qt Widgets, Qt Qml, Qt Quick and Qt Multimedia. From the Qt add-ons Qt Sensors, Qt Graphical Effects, Qt Script and Qt SVG are supported. On Android a special Qt Android Extras module is also supported.



New modules

With Qt 5.2, we are also adding support for a couple of new add-on modules.

  • Qt Bluetooth is supported on Linux with Bluez 4.x and Blackberry
  • Qt NFC is supported on Blackberry
  • Qt Positioning is supported on all platforms using NMEA data, and using GeoClue on Linux
  • Qt Windows Extras Integrate with native code on Windows
  • Qt Mac Extras Integrate with native code on Mac OS X
  • Qt Android Extras Integrate with native code on Android

The last three add-ons contain platform specific additions, and complement the Qt X11 Extras module introduced with Qt 5.1.



Qt base modules

Qt Core got some new functionality, most notably the new QTimezone and QCollator classes. QTimezone is integrated with QDatetime and now allows proper handling of timezones. QCollator allows for locale specific sorting of strings, a long outstanding feature in Qt. Qt Network has received some improvements in its SSL handling. Qt Widgets has gotten lots of smaller improvements and a new QKeySequenceEdit class. Our Accessibility support has been greatly improved, with support for Mac OS X, basic support on Android and a set of public APIs that allow implementing accessibility support for custom widgets.



Qt Qml and Qt Quick

The QML engine has undergone some intensive work over the last 9 months, and the first results can be seen in Qt 5.2. Qt Qml is now using its own built-in Javascript engine and does not depend on V8 anymore. As such the QtJSBackend shared library has disappeared.



We are now using our own built-in engine instead of V8 for many reasons. One of the immediately visible benefits is that we are actually able to support Qt Quick 2 on iOS. In addition, the size of our Qml stack has decreased by around 5 MB and there’s one shared library less that needs to get deployed. Finally, it makes the whole stack a lot more maintainable and will thus allow us to improve the module at a faster pace in the future.



While the new engine is somewhat slower then V8 when it comes to pure Javascript performance, it allows us to optimise for the common use cases in QML and Qt Quick a lot better. Quite a lot of optimisation work is still ongoing now during the release cycle, and we expect to have comparable Javascript performance to Qt Script with 5.2.0. For QML bindings, we will see improvements for most use cases.



In addition, Qt Qml now supports File selectors to make it easier to customize your QML code depending on operating system and other variables.



Significant improvements also made it into Qt Quick. First and foremost, the module got a new scene graph renderer, that significantly reduces both CPU and GPU load for many use cases. The newAnimator QML type offers animations that fully run on the rendering thread and won’t block or stutter even if your main thread has some long running calculations to perform.



The Qt Quick Controls have a couple of new Controls and features to offer. Switches and Busy Indicators got added, Table view now supports movable columns and extended selections. In addition, deployment has been greatly simplified.



Qt Creator

Last but not least, we are planning to ship Qt 5.2 together with a new release of Qt Creator, Qt Creator 3.0. The new Creator will feature an improved Android support, initial iOS support, extensions for multiple screens, a cleanup in the Creator plugin APIs and initial support for lldb.



Timeline

As you can see, Qt 5.2 will contain a lot of great new features and especially the support for mobile operating systems is a huge step forward for us. With the Alpha out, we are now in working hard towards providing a Beta as soon as possible. The Beta will again include binary packages. After the Beta work will go on towards the Release Candidate and Qt 5.2.0 final, which we hope to release by the end of November.



There will also be many talks about Qt 5.2 and its new features during the upcoming Qt Developer days in Berlin and San Francisco. So if you want to find out more, come and join us there.



I’d like to invite everybody to give 5.2 a try and report any issues you find back to our bug tracker.






回复

使用道具 举报

累计签到:894 天
连续签到:1 天
2013-10-1 18:49:42 显示全部楼层
可以静态编译了吗?发布程序简单了不
回复 支持 反对

使用道具 举报

累计签到:1570 天
连续签到:1 天
2013-10-2 10:41:10 显示全部楼层
Syylc120317 发表于 2013-10-1 18:49
可以静态编译了吗?发布程序简单了不

静态编译需要自己来做。其实我感觉现在发布程序就挺简单的,有什么比复制几个dll文件就能发布更简单的呢
回复 支持 反对

使用道具 举报

累计签到:894 天
连续签到:1 天
2013-10-3 11:03:14 显示全部楼层
yafeilinux 发表于 2013-10-2 10:41
静态编译需要自己来做。其实我感觉现在发布程序就挺简单的,有什么比复制几个dll文件就能发布更简单的呢 ...

嗯,现在我还是用的4.8.5,不想换5.*了。
回复 支持 反对

使用道具 举报

累计签到:1570 天
连续签到:1 天
2013-10-3 16:40:11 显示全部楼层
Syylc120317 发表于 2013-10-3 11:03
嗯,现在我还是用的4.8.5,不想换5.*了。

嗯,没必要换的。除非想用Qt 5特有的功能。
回复 支持 反对

使用道具 举报

尚未签到

2013-10-8 00:24:42 显示全部楼层
严重期待啊严重期待啊严重期待
回复 支持 反对

使用道具 举报

累计签到:3 天
连续签到:1 天
2013-10-8 09:10:43 显示全部楼层
老师,有没准备出教程。十分期待中
回复 支持 反对

使用道具 举报

累计签到:1570 天
连续签到:1 天
2013-10-8 09:40:51 显示全部楼层
pain 发表于 2013-10-8 09:10
老师,有没准备出教程。十分期待中

等Qt 5.2 beta出来以后就出教程。
回复 支持 反对

使用道具 举报

累计签到:17 天
连续签到:1 天
2013-11-21 19:21:16 显示全部楼层
yafeilinux 发表于 2013-10-8 09:40
等Qt 5.2 beta出来以后就出教程。

如果能出Qt Quick 2的教程,那我就感激涕零了。最后,Qt Quick2部分单独出一本详细介绍的书。还有详细的开发案例。那就火了。期待
回复 支持 反对

使用道具 举报

累计签到:1570 天
连续签到:1 天
2013-11-22 10:08:09 显示全部楼层
jakes 发表于 2013-11-21 19:21
如果能出Qt Quick 2的教程,那我就感激涕零了。最后,Qt Quick2部分单独出一本详细介绍的书。还有详细的 ...

呵,后面会有的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了