Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3216

declare-function in bindings.xml does not add method with rvalue combined with more args

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.9.0
    • PySide, Shiboken
    • None
    • Linux arch, Qt 6.9.0
    • Linux/X11

      The cpp class has got three pure virtual methods with an object of type CuAData as rvalue argument.

      Two "declare-function" actually add the method in the _wrapper files.

      The "declare-function" flavor with additional parameters:

      signature="publishProgress(const CuActivity*, int, int, CuAData&&)" return-type="void"

      does not, making compilation fail because of pure virtual function instantiation.

      <object-type name="CuThreadInterface" position="beginning"><!-- declare-function signature="publishProgress(const CuActivity*, int, int, CuAData&&)" return-type="void" />
      <declare-function signature="publishResult(const CuActivity*,CuAData&&)"  return-type="void"/>
      <declare-function signature="publishResult(const CuActivity*,std::vector<CuAData>&&)" return-type="void" />
      </object-type>

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

            crmaurei Cristian Maureira-Fredes
            jacum Giacomo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes