Qt 6.3 adds the following module:
Qt 6.3 reintroduces the following modules that were not present in Qt 6.2. All listed modules were ported to Qt 6 and the CMake build system.
A more detailed list of changes to each module can be found in Qt 6 中的 Qt 模块变化 .
警告: In older Qt versions, the default behavior was to inherit, although the documentation said it won't. Qt 6.3 changes the behavior of the default constructor to actually match the documentation. That is, launching a QProcess 采用 QProcessEnvironment created by QProcessEnvironment () will be launched in an empty environment. Use QProcessEnvironment ( QProcessEnvironment::InheritFromParent ) to revert to the old behavior.
Also, added method inheritsFromParent () to test for an instance constructed the new way.
parent
特性。
blocking
property to control whether the hover and wheel events respectively propagate to items and handlers behind the handler's
parent
.
DragWithinBounds
; it is similar to
WithinBounds
, except that even if the user drags while holding the point pressed,
timeHeld
is not reset during dragging, and the
longPressed
signal is emitted regardless of the drag threshold, if the user holds it that long. This is useful for implementing press-drag-release components such as menus (like the pie menu in the pointer handlers example) while using
timeHeld
to directly drive an "opening" animation.
import QtQuick Text { textFormat: Text.RichText wrapMode: Text.WordWrap width: 440 font.pointSize: 12 text: `<p><u style="color: green;">green with underline</u> <span style="text-decoration: underline; text-decoration-color: green;"> green underline</span></p> <p><s style="background-color: lightgrey;">plain strikethrough</s> <span style="text-decoration: line-through; text-decoration-color: orange;"> orange strikethrough</span></p> <p><span style="text-decoration: overline;">plain overline</span> <span style="text-decoration: overline; text-decoration-color: red;"> red overline</span></p>` }
button
being tapped. If you need a signal handler, you should write an explicit function to receive those arguments:
onTapped: function(point, button) { ... }
onDoubleTapped: (point, button)=> ...
The non-native dialogs support all of the non-native styles: Basic, Fusion, Imagine, Material and Universal.
Several new QStyle enum values are available to allow styles to customize additional look and feel aspects of a widget-based UI:
qmltc
) that compiles QML type structure to C++.
ParticleCustomShape3D
element which loads emitting shapes from custom CBOR binary files.
DynamicBurst
element for declarative dynamic emitting and for emitting at trail start/end times.
.bdic
binary format:
qt_add_webengine_dictionary()
Several improvements have been made for Qt for WebAssembly. See the platform documentation at Qt for WebAssembly 了解细节。
Windows on ARM64 remains in Technology Preview as problems with optimized builds of Qt could not be resolved yet.
DataDeviceV3
协议。
wl_seat
support to version 7.
These pages contain an overview of API changes in Qt 6.3:
| Lists the new features in Qt 6.0. | |
| Lists the new features in Qt 6.1. | |
| Lists the new features in Qt 6.2. | |
| Lists the new features in Qt 6.3. | |
| Lists the new features in Qt 6.4. | |
| Lists the new features in Qt 6.5. | |
| Lists the new features in Qt 6.6. | |
| Lists the new features in Qt 6.7. | |
| Lists the new features in Qt 6.8. |