Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qt6-changes.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page dbus-changes-qt6.html
6
\title Changes to Qt D-Bus
7
\ingroup changes-qt-5-to-6
8
\brief Minimal porting effort to be able to switch to Qt 6.
9
10
Qt 6 is a result of the conscious effort to make the framework more
11
efficient and easy to use.
12
13
We try to maintain binary and source compatibility for all the public
14
APIs in each release. But some changes were inevitable in an effort to
15
make Qt a better framework.
16
17
In this topic we summarize those changes in Qt DBus, and provide
18
guidance to handle them.
19
20
\section1 API changes
21
22
The QtDBus module has undergone some basic consolidation and
23
cleanup. There should be minimal porting effort to be able to switch to Qt6.
24
25
\section2 The QDBusMessage class
26
The QDBusMessage::call() and QDBusMessage::asyncCall() methods with a fixed
27
size of arguments have been removed in Qt6.
28
29
\section2 The QDBusArgument class
30
The QDBusArgument::operator<<() specializations for QHash, QMap and QList
31
have been unified into common specializations for associative containers.
32
33
\section2 The QDBusConnection class
34
The QDBusConnection::sender() function has been removed in Qt6.
35
36
\section2 The QDBusMessage class
37
The QDBusMessage::createErrorReply() function now takes the QString \c name
38
argument by const reference instead of taking by value.
39
40
\section2 The QDBusPendingReply class
41
QDBusPendingReply has been changed to be a variadic template class in order
42
to support more than 8 template parameters now. The template parameters
43
are the types that will be used to extract the contents of the reply's data.
44
*/
qtbase
src
dbus
doc
src
qt6-changes.qdoc
Generated on
for Qt by
1.14.0