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

Bad return type for QtGui.QWidget.winId() on Windows 32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.1, 1.1.2, dev
    • Fix Version/s: dev
    • Component/s: PySide
    • Environment:
      windows XP 32
      minGW32 built

      Description

      while retrieving a QWidget winId(), the returned object is a PyCObject not castable into the expected long.

      While trying the cast to int, Error is:

      TypeError: int() argument must be a string or a number, not 'PyCObject'

        Attachments

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            poinot marc Poinot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes