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

shiboken6.wrapInstance raises NameError about upper-case Shiboken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.3.0
    • Shiboken
    • None

    Description

      Split from PYSIDE-1909 - trying a trivial example of using wrapInstance:

      shiboken6.wrapInstance(shiboken6.getCppPointer(QLabel()), QLabel)
      

      results in:

      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      NameError: Error evaluating `Shiboken.wrapInstance`: name 'Shiboken' is not defined
      

      yet I didn't use upper-case Shiboken anywhere in my code...

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes