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

wrapInstance should accept 64-bit address

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.2.0, 1.2.x
    • Shiboken
    • None
    • Windows 8

    Description

      shiboken method wrapInstance has signature:
      wrapInstance(unsigned long, PyType) in shiboken/shibokenmodule/typesystem_shiboken.xml

      The first argument is an address. In 64-bit system, address is 64-bit. But unsigned long is 32-bit type.
      In most platform, the method is OK. Latest, on Windows 8, we got very large address for our main app windows. The address is beyong 32-bit address space. Then the method wrapInstance is failed.

      The fix is simple: change the first argument type as "unsigned long long".

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            wuni Nian Wu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes