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

Qdbus CLI tool and overloaded methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.6.0
    • D-Bus
    • None
    • 0e049a27622a4002af8851fed68f37b71fc7ba54

    Description

      This problem came up in a following situation:

      foo(QString url)
      foo(QStringList urlList, int a)

      calling

      qdbus org.Testservice / foo "(" url1 url2 ")" 5

      results in "invalid number of parameters" since it compares the number of parameters to the first method matching the name.

      In addition, docs/qdbus help do not mention how to pass QStringLists.

      Attachments

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

        Activity

          People

            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            kko Kimmo Kotajärvi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes