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

[REG: 6.6.2 → 6.7.2] QList<QObject *> argument causes TypeError

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 92e57874e (dev), 40582a590 (6.8), 274342571 (6.7)

    Description

      When attempting to pass a property of type QList<QObject *> to an invokable method argument of the same type, the following error is thrown:

       TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.
      

       

      This error is not thrown in 6.6.2.

      Attached is a minimal example.

      Attachments

        1. type-error-test.tgz
          1 kB
          Stephen D'Angelo
        For Gerrit Dashboard: QTBUG-127704
        # Subject Branch Project Status CR V

        Activity

          People

            olivier.decanniere Olivier De Cannière
            stephenmdangelo Stephen D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes