Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49648

Deprecated signal "QDBusConnectionInterface::serviceOwnerChanged"

XMLWordPrintable

      The user is trying to run 'D-Bus Complex Ping Pong', but she is getting warning

      'Connecting to deprecated signal
      QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString). 
      

      Even if this message is harmless, it is still irritating and the example should be somehow fixed.

      This code should be changed (complexping.cpp, line 109):

          ping.connect(QDBusConnection::sessionBus().interface(),
                       SIGNAL(serviceOwnerChanged(QString,QString,QString)),
                       SLOT(start(QString,QString,QString)));
      

      This problem can reproduce with the D-Bus Complex Ping Pong example provided with the Qt Creator.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            dmnikola Dmitry Nikolaev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes