发布于 2016-11-07 00:30:27 | 402 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Qt 跨平台的C++图形用户界面应用程序框架

Qt是一个1991年由奇趣科技开发的跨平台C++图形用户界面应用程序开发框架。它既可以开发GUI程序,也可用于开发非GUI程序,比如控制台工具和服务器。Qt是面向对象的框架,使用特殊的代码生成扩展(称为元对象编译器(Meta Object Compiler, moc))以及一些宏,易于扩展,允许组件编程。


Qt 5.8 Beta 版发布了,主要更新内容如下:

New Features (within existing modules)

  • Qt Core

    • Added at(), operator[], mid(), right() and left() to QLatin1String

  • Qt GUI

    • QTouchEvent now has uniqueId and rotation

    • Support for dithering when converting to all QImage formats

    • Previously private QOpenGLTextureBlitter API is made public, to help QtWayland in particular

    • Added capHeight() to QFontMetrics, QFontMetricsF, and QRawFont

    • Selection handles on Android, with edit menu for copy/paste)

  • Qt Quick

    • Refactored the Qt Quick scene graph to remove its OpenGL dependency and make it possible to create rendering backends based on other graphics APIs, such as Vulkan or Direct3D.

    • Integrated the software renderer for the Qt Quick scene graph as a proper backend for the scene graph (previously known as the Qt Quick 2D Renderer.)

    • Implemented support for partial updates in the software backend for the scene graph (2D Renderer) to prevent expensive fullscreen updates when only small areas are changing.

    • Added an experimental Direct3D 12 backend

    • Implemented caching of code and data structures generated from .qml/.js files to disk to reduce start-up time and memory consumption. The resulting .qmlc and .jsc cache files are memory mapped.

    • Cleaned up touch and mouse event delivery and added a new internal class QQuickPointerEvent which is used for that purpose. This is the foundation for further improvements with regards to input event handling, but does not affect any code using Qt Quick yet.

  • Qt Quick Controls 2

    • Added new QML types: Dialog, DialogButtonBox, MenuSeparator, RoundButton, and ToolSeparator

    • Added ripple effects to the Material style

    • Added hover effects to the Material and Universal styles

    • Added a 'System' theme to the Material and Universal styles

    • Added new experimental "platform" QML types: MenuBar, Menu, SystemTrayIcon, ColorDialog, FontDialog, MessageDialog, FileDialog and FolderDialog

  • Qt Widgets

  • Qt WebEngine

    • Based on Chromium 53

    • Windows: Requires MSVC 2015 Update 2 or later

    • view-source: scheme is supported

    • Spellchecking with Hunspell

    • Tooltips (HTML5 global title attribute) are now also supported in the QML API.

    • User scripts now support metadata (@include, @exclude, @match)

    • Qt WebEngine (QML) allows defining custom dialogs / context menu's

    • Qt WebEngine (QML) on eglfs uses builtin dialogs based on Qt Quick Controls 2

    • Support for printing

    • Added setting to enable printing of CSS backgrounds

    • Some chrome: schemes now supported, for instance chrome://gpu

  • Qt Bluetooth

    • Bluetooth Low Energy Peripheral support on OS X & iOS

    • Bluetooth Low Energy Central support on WinRT

  • Qt Multimedia

    • Added QAudio::convertVolume() (and matching QML API) function to convert an audio volume from one scale to another, e.g. logarithmic to linear.

    • VideoOutput (QML) now supports rendering YUV 4:2:2 (YUYV, UYVY) video frames.

    • GStreamer backend (Unix) now supports video probing on QCamera

  • Qt Network

    • Support for TLS PSK ciphersuites on server side

    • Support for configurable diffie hellman parameters

    • Support for HTTP/2 in Network Access Manager

  • Qt WebSockets

    • Support for TLS PSK ciphersuites on client and server side

  • Qt Charts

    • Candlestick chart type added.

  • Qt 3D

    • Main focus on maturation (improving performance, bug fixing and improving test coverage)

    • Paint to texture using QPainter from Weiland

    • Optional support for issuing commands to Qt3D aspects (e.g. from profiler)

    • (Screenshot framegraph node STILL UNDER REVIEW)

  • Embedded platforms

    • Enhanced multi-screen capabilities and configurability with eglfs when running on KMS/DRM, both with GBM and EGLDevice/Stream

    • Added support for 90 or 180 degrees rotation of software-rendered content (QWidget) in eglfs

Configurability (Qt Lite project)

Qt 5.8 comes with a rewritten configuration system, that allows for easy customisation of your Qt build. The main focus of this feature is for the Device Creation, but it can also be used to tailor a Qt build for mobile or desktop. The system allows removing individual pieces of functionality and APIs from Qt, thus creating a more lightweight set of libraries for deployment.

New Modules

  • Qt Wayland Compositor

  • Qt SCXML

  • Qt Serial Bus

New Platforms

  • Apple tvOS (technology preview)

  • Apple watchOS (technology preview)

Technology Preview Modules

  • Qt Gamepad (TP2)

  • Qt Speech - A module to make text to speech and speech recognition easy. For Qt 5.8 (and probably even the next few releases) only the text to speech part is released. It has backends for several speech synthesizers on macOS, Android, Windows and Linux currently.

  • Qt Network Authentication - currently includes support for OAuth 1 + 2

Deprecated Modules

The following modules are part of Qt 5.8 release, but deprecated and considered for removal in subsequent releases of Qt:

  • Qt Script

Removed Modules

  • Qt Quick 2D Renderer (functionality of the module has been merged into Qt Declarative)

Configurations

  • There are no more separate device and simulator libraries for iOS; they are now combined into a single library (and the same applies for tvOS and watchOS).

  • Precompiled headers now supported on iOS.

点此查看发布说明完整更新内容

下载地址



历史版本 :
Qt 5.9.4 正式发布,包含近 200 项 Bug 修复
Qt 5.10 发布,新增功能和特性。
Qt 5.9.3 发布,没有新增功能,包含近 100 项 Bug 修复
Qt 5.9.2 正式发布,包含近 300 项 Bug 修复
Qt 5.9 正式发布,长期支持版本
Qt 5.9 Beta 发布,微调Qt的发布流程
Qt 5.9 Alpha版本发布,C++跨平台界面库
Qt 5.8 正式发布, C++跨平台界面库
Qt 5.8 RC 发布, C++跨平台界面库
Qt 5.7.1 发布, C++跨平台界面库
Qt 5.8 Beta 发布,包含全新的配置系统
Qt 5.6.2 发布, C++跨平台界面库
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务