原文:
http://qt-project.org/qt5/qt51/ http://blog.qt.digia.com/cn/2013/07/04/qt-5-1-released/ Qt 5.1发布了Published 星期四 七月 4th, 2013 | by
Liang Qi 原文链接:
Lars Knoll –
Qt 5.1 Released很高兴在这里宣布现在Qt 5.1可用了。自去年底Qt 5.0发布以来,已经过了6个多月。最初的计划主要是集中在对Qt 5.0的缺陷修复和稳定方面,不过我们超额完成了任务。这次发布在大量的小改进以及缺陷修复以外,还包含了大量的
新功能。更详细的信息,请查看我们的
Qt 5.1发布页面。
Qt 5.1中还提供了
全新发布的Qt Creator 2.7.2。您可以使用新的在线
安装程序进行安装,它将会让您在未来可以自动无缝地进行升级。Visual Studio Add-in的一个新版本也
可用了。
我们已经添加了很多新模块,在5.0的基础上扩展了更多的功能。新的
Qt Quick控件和Qt Quick布局模块最终提供了Qt Quick中的“
窗口部件”。它们包含了一套全功能的控件和布局,可以极大地简化基于Qt Quick的
界面工作。
Qt4时代就为大家所熟知的Qt Mobility中的
Qt传感器(sensor),被正式添加到Qt 5.1中,它可以支持Android、Blackberry和iOS。还有一个新的
Qt串口(serialport)模块,它允许您在
Linux、Mac和
Windows上控制串口连接。
Qt的Android和iOS版预览Qt 5.1还把Qt带到了新的平台和操作系统上。首先,现在Qt支持Visual Studio 2012,并且在Windows上提供了ANGLE和桌面OpenGL的不同选项。
另外,把Qt带入到移动操作系统的工作取得了极大的成果。尽管现在Qt的Android和iOS版在这次发布中只是预览版,还不是最终发布,不过它们对于大量的用户案例已经是可用的了。
除了Qt Serialport、Qt WebKit和一部分的Qt Multimedia,Qt的Android版支持
Qt5.1中的其它所有模块。Qt的Android版和Qt Creator的集成工作已经基本完成,除了向GooglePlay上传您的应用程序以外,您可以在Creator中完成其它所有工作。
除了Qt Quick2以外,Qt的iOS版支持上面Qt的Android版所支持的所有模块。这是因为iOS的限制,操作系统不允许使用V8 JavaScript引擎。我们将在Qt 5.2的iOS版中提供完整的Qt Quick支持。
您可以在App Store和Google Play中安装一些Qt的iOS和Android版的演示程序。对于Android,我们在Google Play中提供了
Qt Everywhere demo和
Qt 5 launch demo。这篇
博文中介绍了如何向Google Play发布Qt应用程序的详细情况。对于iOS,我们在App Store中提供了一个基于Qt的小游戏
Sub Attack和
Qt Quicksand。
正如之前的每一次发布,这一次发布也存在一些已知
问题,以及一些还
没有被发现的问题。您可以查看我们在wiki上的
已知问题页面。
最后,我希望您能享受Qt 5.1带来的欢乐。我个人认为这次发布是Qt的一个里程碑。现在,Qt是一个可以在桌面平台和很多嵌入式平台以外,又能在主流移动操作系统上工作的跨平台工具套件。
大量的辛勤工作才使得这次发布得以完成,在这里我向所有对Qt作出贡献的朋友表示感谢。正如以往一样,本文最后是一些照片,其中有很多(不过是全部当中的小部分)帮助过Qt 5.1发布的朋友们。
下载5.1要试用Qt Enterprise商业版,请访问
这里。您还可以在
这里下载开源版本。
Let’s hear it for Qt 5.1! Make it cross-platform like you mean it! Qt 5.1 is the latest release of the cross-platform
C++ Applicationand UI framework. You can now create native Qt-based cross-platformapplications all with one framework and target all the most popularoperating systems on desktop, embedded and mobile. Qt 5.1 improves theamazing UI possibilities by introducing a big boost to the central UItechnology, Qt Quick, with Qt Quick Controls and a new layout system.It has never been this effortless and productive to create astonishinguser experiences! As sugar on top, Qt 5.1 presents technology previewsof the official Qt ports on Android and iOS allowing you to start yourmulti-platform story on mobile as well.
Qt 5.1 Highlights A full technical list of what is new in Qt 5.1 can be found in this
page.
A Qt Quick Boost The central UI technology of Qt, Qt Quick, takes a big step forwardwith a new layout support and Qt Quick Controls, a pre-built toolboxof re-usable UI controls on top of the declarative QML language.
Qt Quick Controls Qt Quick Controls, is a full library of pre-built, re-usable andcustomizable UI controls on top of the declarative QML language thattake Qt Quick development to a new level, especially on desktop platforms.Qt Quick Controls will soon go multi-platform and with Qt 5.1 we introducethe first batch, the controls for desktop platforms with native look-and-feel.The components can also be custom styled through a built-in StylingAPI. Besides all the convenient Buttons, Sliders, SpinBoxes, ButtonGroupsand other individual components, Qt Quick controls provide more UI framework-levelfunctionality with higher level elements such as ApplicationWindow,TabView, StackView, SplitView.
Qt Quick Controls provide native look-and-feel on all desktopplatforms in Qt 5.1 Qt Quick Layout Managers To make UI creation with QML even more flexible, Qt 5.1 introducesnew UI layout manager elements that work both with the new controlsas well as traditional plain QML elements. The co-existence of the C++based QWidgets and QML based Qt Quick elements is also possible. Thisallows you to write hybrid user interfaces and seamlessly migrate graduallyto Qt Quick.
The new features of Qt Quick are described in detail in this blog
post.
New Platforms See the power of Qt on Mobile and run your Qt code today on Android,iOS, BlackBerry10 or Mer/Sailfish. Most of the Qt functionality andtool integration is already in place allowing you to start with yourmobile ports of Qt applications already today. The deployment-readyports are coming with Qt 5.2 later this year.
This is what it’s all about: Qt 5 Cinematic Demo by QUITCodingrunning in iPad, BlackBerry Z10, Freescale i.MX6 with QNX and two differentAndroid devices (Samsung Galaxy S2 and Google Nexus 7) Technology Preview of Qt for Android The Qt for Android port is already rocksolid. Most of Qt 5.1 functionality is working on Android includingQWidgets, Qt Quick 1, Qt Quick 2, Qt Multimedia (excluding camera),and Qt Sensors. Tooling and deployment is supported for both X86 andARM targets with remote debugging and everything is fully integratedinto direct Qt Creator development and deployment. Deployment to GooglePlay is in preview phase and in Qt 5.1 it is done using an externalapplication, Ministro, which requires the end user to download the Qtlibraries via Ministro to his device before running the application.To see Qt for Android in action, download the
“Qt Everywhere” demo fromGoogle Play to your own Android device.The final version of Qt for Android is coming out in Qt 5.2.
Qt Graphical Effects demo running on Android OS Technology Preview of Qt for iOS Like the Android port, the iOS port of Qt is already very usable.You can take your existing Qt code for a test-ride or start portingyour new, multi-platform apps to iOS as well! For instance QWidgets,Qt Quick 1 and Qt Sensors can be used on iOS with Qt 5.1 but Qt Quick2 is not yet supported in this technology preview and is expected inQt 5.2
Tooling and device deployment needs to be done through XCode, thereis not yet a Qt Creator integration available for Qt for iOS. The finalversion of Qt for iOS will be released with Qt 5.2, including supportfor Qt Quick 2.
Performance and Stability with Improved Tooling With over 3000+ enhancements and bug fixes, Qt 5.1 provides a solidplatform for all types of software development in all industries.
Qt 5.1 comes integrated with Qt Creator IDE 2.7 offering a singlepackage for a complete and easy development experience with:
- improved C++11 code editing support
- Qt Quick Designer with full support for Qt Quick 2
- Android development target.Online installers allow easy configurabilityand updating of your Qt environment.
Continued Innovation
New Modules Qt Sensorsprovide access to sensor hardware and motion-gesture recognition. TheAPI can be used both from the C++ and QML side with support for Android,BlackBerry 10 , iOS and Mer platforms.
Qt Serial Port letsyou interface with physical and virtual serial ports of your device.
Qt X11 Extras provideyou direct access to screen information on platforms running the X server.