diff --git a/src/plugins/platforms/wayland/global/qwaylandclientextension.h b/src/plugins/platforms/wayland/global/qwaylandclientextension.h index 774c5ba7750..6079e990168 100644 --- a/src/plugins/platforms/wayland/global/qwaylandclientextension.h +++ b/src/plugins/platforms/wayland/global/qwaylandclientextension.h @@ -84,7 +84,9 @@ public: // developer and the version specified in the protocol and also the // compositor version. if (this->version() > T::interface()->version) { - qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher than the version of the protocol, using protocol version instead. interface.name: %s", + qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher " + "than the version of the protocol, using protocol version instead.\n" + " interface.name: %s", T::interface()->name); } int minVersion = qMin(ver, qMin(T::interface()->version, this->version())); diff --git a/src/plugins/platforms/wayland/shellintegration/qwaylandshellintegration_p.h b/src/plugins/platforms/wayland/shellintegration/qwaylandshellintegration_p.h index 59b3c9e5a13..0f76e5aceb5 100644 --- a/src/plugins/platforms/wayland/shellintegration/qwaylandshellintegration_p.h +++ b/src/plugins/platforms/wayland/shellintegration/qwaylandshellintegration_p.h @@ -81,7 +81,9 @@ public: // developer and the version specified in the protocol and also the // compositor version. if (this->version() > T::interface()->version) { - qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher than the version of the protocol, using protocol version instead. interface.name: %s", + qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher " + "than the version of the protocol, using protocol version instead.\n" + " interface.name: %s", T::interface()->name); } int minVersion = qMin(ver, qMin(T::interface()->version, this->version()));