path: root/src
diff options
authorKarsten Heimrich <>2020-11-10 13:23:56 +0100
committerKarsten Heimrich <>2020-11-11 12:48:21 +0100
commit15f55e9be57822b2c9ceb602cabd5075c1921ed2 (patch)
tree0e3abf7a1c0fbfa9facb917b721be041ed374e36 /src
parent7ec2f38ec019a2123b548b74ca85f2f9136463f6 (diff)
Doc: Add Qt6 QDBus porting guide
Fixes: QTBUG-88027 Change-Id: Ic4fa2070aa7068a1d0ff02d43aa6a3d1d10db0d7 Reviewed-by: Alex Blasche <> Reviewed-by: MÃ¥rten Nordheim <>
Diffstat (limited to 'src')
1 files changed, 21 insertions, 1 deletions
diff --git a/src/dbus/doc/src/qt6-changes.qdoc b/src/dbus/doc/src/qt6-changes.qdoc
index d112271712..14cd728c19 100644
--- a/src/dbus/doc/src/qt6-changes.qdoc
+++ b/src/dbus/doc/src/qt6-changes.qdoc
@@ -41,6 +41,26 @@
In this topic we summarize those changes in Qt DBus, and provide
guidance to handle them.
- \section1 ADD STUFF HERE
+ \section1 The QtDBus module has undergone some basic consolidation and
+ cleanup. There should be minimal porting effort to be able to switch to Qt6.
+ \section2 QDBusMessage
+ The QDBusMessage::call() and QDBusMessage::asyncCall() methods with a fixed
+ size of arguments have been removed in Qt6.
+ \section2 QDBusArgument
+ The QDBusArgument::operator<<() specializations for QHash, QMap and QList
+ have been unified into common specializations for associative containers.
+ \section2 QDBusConnection
+ The QDBusConnection::sender() function has been removed in Qt6.
+ \section2 QDBusMessage
+ The QDBusMessage::createErrorReply() function now takes the QString \c name
+ argument by const reference instead of taking by value.
+ \section2 QDBusPendingReply
+ QDBusPendingReply has been changed to be a varadic template class in order
+ to support more than 8 template parameters now. The template parameters
+ are the types that will be used to extract the contents of the reply's data.