Parse Qt 5 structure and module composition

Source: Internet
Author: User

Qt 5Structure andModuleComposition is the content to be introduced in this article, mainly to understandQT 5. As a fan of QtQt 5Full of expectations. But think about it.QT 5It is a bit disturbing to the bottom of my heart.Qt 5What will it become?

Let's take a look at some major actions of QT 5 recently:

Remove QSettings and dependencies on QSettings from QtCore (create an independent module ?)

Remove QtConcurrent from QtCore (create independent module ?)

Add QJSEngine and QDeclarativeEngine to QtCore

Separates QtPrintSupport from QtGui to retain the pdf generation function.

Add the read/write function of zip files to QtCore

...

QT 5 Structure

QT essential module)

At the core of QT 5, Qt Quick, qml, and javascript will become first-class citizens. The most changed among these modules is the Gui module, and the GUI structure is thoroughly updated:

What is SceneGraph? I don't know much about it. It seems that "Scene Graph" is a method for organizing Scene data, which puts data into a hierarchy.

OpenGL, QT 5 will depend on OpenGL 2

Lighthouse (QPA) is implemented by porting platform-based systems, but it seems that the shadows of Win32 plug-ins have not yet been seen.

At the same time, the content related to QWidget will be independently converted into the QtWidget module, and the content related to printing will be independently developed into QtPrintSupport ,...

However, this does not mean that this Part has been abandoned. Not in Qt Essentials, because not all platforms need it. For the desktop platform, QtWidget is the first-class citizen like other modules !!

 
  1. We want to send the correct message to the users of QWidget classes:   
  2. they are 1st class citizens in the desktop environment, but not necessarily   
  3. available in the embedded or mobile environments 

Qt Add-Ons)

In QT 5, although Qt Quick is the center of Qt, QT 5 will continue to support native C ++ Qt, and does not want to split it with the code developed by Qt4. Some modules in Qt4 are placed in QT Add-Ons in Qt 5.

 
  1. Qt 5 continues to offer all of the power of native Qt C++, and we don’t want Qt 5 to be disruptive for existing code developed for Qt 4. 

Some other things have not been seen, such:

Summary: AnalysisQt 5Structure andModuleThe contents of the components are introduced. I hope you can learn this article to help you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.