Qt 5.7 released



  • Qt 5.7 released

    Published Thursday June 16th, 2016
    6 Comments on Qt 5.7 released
    Posted in Biz Circuit & Dev Loop, News, Qt, Releases

    I’m very happy to announce that Qt 5.7 is now available. It’s been only 3 months since we released Qt 5.6, so one might expect a rather small release with Qt 5.7. But apart from the usual bug fixes and performance improvements, we have managed to add a whole bunch of new things to this release.

    Updated licensing

    Before going into the content and all the cool new features, I should mention the changes to our licensing that have been implemented with Qt 5.7.

    Qt has always been available as Free Software, and will continue to be so in the future. Qt is being developed as an open source project, The Qt Company is fully committed to this, and in addition, the agreement with the KDE Free Qt Foundation legally ensures this.

    With Qt 5.7, we are slightly adjusting our licensing of the Open Source version to bring it more in line with the philosophy of the Free Software movement. From this version onwards, Qt will not be available under LGPL version 2.1 anymore. Instead, Qt will be licensed under two main licenses: LGPL version 3 (and GPL version 2) for all almost all frameworks and libraries, and GPL version 3 for our tools like e.g. Qt Creator. In addition, we’re open sourcing some formerly closed Qt add-ons and tools under GPL version 3.

    Please check our our licensing pages or the licensing FAQ for all details around this. You can also have a look at my blog post from January where I announced this change.

    Unifying Qt for Application Development

    The license change gives us a unique opportunity to unify our Qt for Application Development offering between the Open Source and Commercial versions. Starting with Qt 5.7, both packages come with exactly the same content.

    This means that all the parts of Qt for Application Development that previously have been available only to commercial users are now available in the Open Source package as well.

    This includes the following modules:

    Qt Charts (GPLv3)
    Qt Data Visualization (GPLv3)
    Qt Virtual Keyboard (GPLv3)
    Qt Purchasing (LGPLv3)
    Qt Quick 2D renderer (GPLv3)
    The only exception is the Qt Quick Compiler where we need some more time to finish the required changes to be able to support this feature in the Open Source Edition.

    Qt Virtual Keyboard - Now available for GPL Qt users as well!
    Qt Virtual Keyboard – Now available under GPL!

    Qt Charts
    Qt Charts

    C++11

    It has been possible to use a C++11 compliant compiler together with Qt (and thus use C++11 in your application) for many releases. But Qt itself didn’t make use of it except for some integration points in our API.

    With Qt 5.6 being a long-term release that we will support for three years, we have taken the opportunity with Qt 5.7 to start modernizing our own code base. As one of the core strengths of Qt comes from it being a C++ framework, we want to follow the progress of modern C++ more closely.

    Starting with Qt 5.7, we will require a C++11 compliant compiler to build and use Qt. This allows us to use many of the new features in Qt itself, and renew our codebase using features such as constexpr, move semantics, range-for and auto. These efforts are well under way and will continue throughout the next versions.

    Apart from adding previously commercial-only modules to the Open Source version, we also have quite a bit of new content in Qt 5.7.

    Qt 3D

    We want to provide you the tools to create the required WOW-effect to amaze your end users. Modern UIs in many areas require the integration of 3D graphics, or even creating the whole user experience in three dimensions. In past years we’ve been improving our developer offering to make it easier for you to add this dimension into your UIs. With Qt 5.7, we are bringing in the Qt 3D module. This module has been available as a Technology Preview for two releases now, and I’m happy to announce that it has now reached the state where it is becoming a fully supported member of the Qt family!

    Qt 3D complements the 3D GUI offering of Qt consisting of integration to OpenGL, Qt Canvas 3D, and Qt Data Visualization modules. Qt 3D provides you with a 3D engine, that comes with both C++ and QML APIs. It makes it a lot easier to embed and handle 3D content within Qt Applications. In general, Qt 3D is much more than just a renderer, it serves as an extensible 3D framework for all kind of simulations. The architecture and most of the development on Qt 3D over the past years has been done by our partner KDAB, a huge thanks goes to them for their work. For a proper introduction, please see the guest blog post from Sean Harmer from KDAB.

    Qt Quick Controls 2

    Qt 5.7 also comes with a fully supported version of our new Qt Quick Controls, the library of QML-based UI controls. Qt Quick Controls 1 were targeted at the desktop, and came with all the bells and whistles required for desktop applications. This implied an overhead that often made them too slow for usage on embedded devices.

    Qt Quick Controls 2 solve these issues. They have been built from the ground up with performance and memory consumption in mind. So while they are fully usable on the desktop, they have slightly more limited functionality and e.g. don’t come with native styling integration. But they are vastly faster, and use a lot less memory than the old controls, making them ideal for many embedded and mobile solutions. Qt Quick Controls 1 are still part of the offering and a suitable API for desktop development. For instance, the Qt Quick Layouts work nicely with both of the control sets.

    Architecturally, Qt Quick Controls are based on templates that allow you to create your completely own set of controls ground-up. They also come with a flexible system that allows the rapid creation of custom styles and user experiences. In addition, the existing controls come with three predefined styles:

    Default style – a simple and minimal all-around style that offers the maximum performance
    Material style – a style based on the Google Material Design Guidelines
    Universal style – a style based on the Microsoft Universal Design Guidelines
    For a good overview, more details and a teaser video, please see the blog post from J-P Nurmi.

    New functionality in existing modules

    A lot of new functionality has been added to existing modules, and this blog can’t cover them all. Some of the highlights are:

    Qt Core

    Qt uses poll() instead of select() in it’s event loop allowing for more than 1024 file descriptors
    Qt now uses std::atomic for it’s atomic classes
    Qt Gui

    NEON optimizations for image scaling in Qt Gui
    Optimized the OpenGL function wrappers in Qt for size and speed
    Qt QML and Quick

    JIT support for WinRT, and 64bit ARM platforms in Qt QML, leading to much better QML performance on these platforms
    The debugger now supports debugging multiple QJSEngine instances at the same time
    Improved profiler and inspector integration
    Qt WebEngine

    Qt WebEngine is now based on Chromium 49 and can now print to PDF
    Support for DRM-protected HTML5 video in WebEngine
    Qt NFC

    Support for Android
    For all the details, please have a look at our New Features page and the Changes file for Qt 5.7.

    Qt for Device Creation

    Also Qt for Device creation has received an update and does now ship with Qt 5.7. In this release, we added out of the box support for a set of new hardware:

    The NVIDIA DRIVE CX boards (Tegra X1, 64 bit ARM)
    The Rasberry Pi 3 (32 bit mode)
    i.MX7 based devices (without GPU, uses the Linux framebuffer and the Qt Quick 2D renderer)
    Microsoft Windows is now a fully supported as a host platform for developing for embedded Linux. While Qt for Device Creation 5.7 does no longer support Windows Embedded, we now have full support for QNX, including pre-built binaries.

    To read more about changes in Qt for Device Creation, please see the separate blog post.

    Qt Creator 4.0

    Qt 5.7 ships with Qt Creator 4.0, more precisely with the new Qt Creator 4.0.2 version. Qt Creator 4.0 is a full development environment for all desktop, mobile and embedded development and now with version 4, we’ve especially emphasized the designer-developer workflow with the integration of Qt Quick Designer visual layout editor and the new Qt Quick Controls 2. Together, they provide a really nice way to rapidly create touch-based UIs for your embedded and mobile applications. Check out the separate video about the workflow from this blog post.

    Qt Creator 4.0 also comes with a set of nice new features, such as Clang integration and extended QML profiler, please find the details from the Qt Creator 4.0 blog post. For the updates regarding Qt 4.0.2, please see the change files.

    New Technology previews

    In addition, Qt 5.7 also adds a couple of new modules as Technology Previews.

    The first one is the Qt Wayland Compositor. The module makes it very easy to create your own Wayland Compositor. This is especially useful for embedded devices that require multi process support. The module has existed as unsupported technology for some time, but has had issues in both the API and implementation. With Qt 5.7, we’ve invested a lot of time and effort to clean up implementation and stabilize the API. It now comes with a full QML API and an improved C++ API with a lot of convenience. We also added a convenience API to create Wayland extensions and use them from both QML and C++. You can read more about it from the blog post from Paul.

    The next new module is Qt SCXML. It’s a completely new module that makes it very easy to integrate SCXML based state machines into Qt. It builds directly on top of the Qt Statemachine framework and extends it with with both a SCXML to C++ compiler and a runtime that allows loading SCXML based state machines.

    Qt Gamepad is another nice small addition. It makes it possible to ingrate gamepad support into both C++ and QML applications. It currently supports Windows, Linux, Android and iOS.

    With Qt for Device Creation, we’re also introducing the first preview of Qt-based Over-the-Air (OTA) updates mechanism. For an overview of this crucial IoT-technology, please see the blog post from Gatis.

    Finally, Qt 5.7 also includes a technology preview of the new Qt SerialBus module that allows you to use Qt APIs for device bus communications and protocols. It’s a generic API, but with this version it includes implementations for CAN and Modbus.

    Go and get it

    Finally, I’d like to give my thanks to everybody who has helped create this release. Again, a special thanks goes to KDAB for its tremendous work on Qt 3D.

    You can get Qt 5.7 from your Qt Account or the download page on qt.io.

    For an overview of the Qt 5.7, you can take a look at the release page, or for more details check the change files and known issues.

    Enjoy the release and have a great, Qt-filled summer!



  • 谢谢realfan大大的分享~~~



  • @realfan 有没有网盘分流?

    我要 window + android 的。


 

最近的回复

  • MStatus是描述Maya状态的一个类。其中MStatus.perror()表示在Output Window中显示错误信息。
    MPxLocatorNode 是NPxNode的一个子类,它表示的是类似坐标轴等辅助的节点,它不参加渲染,只是起辅助作用。可以使用原生的OpenGL调用。
    MPxDeformerNode 是描述的是形变的节点,定义的是形变的内容。

    获取物体的类别可以写这样的Python代码:
    import maya.cmds
    print cmds.getClassification( "lambert" )
    可得:[u'drawdb/shader/surface/lambert:shader/surface']
    参考:https://help.autodesk.com/view/MAYAUL/2019/CHS/?guid=__CommandsPython_getClassification_html

    MPx开头的类表明是Proxy的类
    MFn开头的类表明是Function Set类

    Maya的例子FootPrintNode和RawFootPrintNode的区别是RawFootPrintNode它有实现draw()函数,它实现了跨渲染器(DX和OpenGL)的渲染。😛

    阅读更多
  • 由于我使用的是Maya 2018,而Maya 2018是在Visual Studio 2017上进行编译的,所以我们需要下载Visual Studio 2017。
    1、首先打开Visual Studio 2017,创建一个简单的VS项目。Ctrl + Shift + N,使用Windows桌面向导进行创建。

    注意不要创建stdafx.h 头,不使用stdafx头进行构建。
    然后创建一个文件FirstMayaPlugin.cpp 进行处理。

    2、将Debug改为ReleaseDebug,并且将win32改为x64。

    3、设置下面的属性
    3.1 附加包含目录中,要有D:\Develop\devkitBase\include
    3.2 优化改为已禁用,为了调试符号的正确性
    3.3 预处理宏中添加这些:

    NDEBUG OSWin_ WIN32 _WINDOWS _USRDLL NT_PLUGIN _HAS_ITERATOR_DEBUGGING=0 _SECURE_SCL=0 _SECURE_SCL_THROWS=0 _SECURE_SCL_DEPRECATE=0 _CRT_SECURE_NO_DEPRECATE TBB_USE_DEBUG=0 __TBB_LIB_NAME=tbb.lib Bits64_

    3.4 附加库目录设为D:\Develop\devkitBase\lib
    3.5 附加依赖项设为
    Foundation.lib
    OpenMaya.lib
    3.6 改目标文件扩展名为.mll

    4、在FirstMayaPlugin.cpp 中添加以下的代码:

    #include <maya/MStatus.h> #include <maya/MObject.h> #include <maya/MFnPlugin.h> #include <maya/MStatus.h> #include <maya/MObject.h> #include <maya/MFnPlugin.h> MStatus initializePlugin( MObject obj ) { MStatus status; MFnPlugin plugin( obj, "Next Digital", "1.0", "Any" ); return status; } MStatus uninitializePlugin( MObject obj ) { MStatus status; return status; }

    就可以顺利地编译了。

    这个插件就可以在Maya中顺利地进行载入了。

    阅读更多
  • 一些数据结构以及释义
    MVertexBuffer:对显卡的Vertex Buffer进行封装;
    MIndexBuffer:对显卡的Index Buffer进行封装;
    MGeometryRequirement
    MRenderItem:渲染的项目,包含了一个index buffer,多个vertex buffer,选定的着色器
    renderpasses:渲染的次数
    MVertexBufferDescriptor
    MVertexBufferDescriptionList
    MRenderItemList
    MPxDrawOverride:重新组织渲染语言的API,包括OpenGL的调用
    MPxGeometryOverride:整合外部着色器和DAG对象
    MPxShaderOverride:低层着色组织
    NPxSbadingNodeOverride:如何插件与其它软件的交互
    对比:NPxShaderOverride:全部渲染网络需要,NPxShadingNodeOverride:仅仅与其它插件的交互

    RenderOperation:类似一个renderpass
    渲染的Operation
    1、背景的Operation
    2、3D场景的Operation
    3、2D的HUD的Operation
    4、用户自定义Operation
    5、四方blt的Operation
    6、对象presentation的Operation

    MShaderManager

    开发者例子:viewRenderOverride

    Maya的渲染节点构成的是DAG(有向无环图),包含了transforms和shapes。
    MFnAssembly、MPxAssembly。

    阅读更多
  • 网上被黑客服都会说1,你的账户存在风险需要你提供身份信息2,银行维护,3, 系统维护,,出款系统维护4 你的账户存在套利遇到这些情况其实就是他们想黑你,正规的也是存在维护的,银行也确实会维护,但只要超过一天以上,那你基本就是被黑了,所以还是劝朋友们远离赌博,因为网络虚拟无保障,所以很多玩家被假网黑钱的事时有发生。国内法律不允许。
    虚拟的网络世界真真假假,虚虚实实。网上娱乐的黑网也是铺天盖地,不计其数。网赌被黑出款扣193+5829*223、以及出黑中的各种骗局,防不胜防。网赌害人!远离网赌

    阅读更多

关注我们

微博
QQ群











召唤伊斯特瓦尔