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

Deprecated signal "QDBusConnectionInterface::serviceOwnerChanged"

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes