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

Build failure on MacOS High Sierra

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9
    • Fix Version/s: 5.9
    • Component/s: Shiboken
    • Labels:
      None
    • Commits:
      34c957a6e3f60e247d41011b317ef0423511ae83

      Description

      When building with cmake on MacOS with latest Xcode and OS:

      [43%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkarrayconverter.cpp.o
      /Users/build/pyside2/pyside-setup/sources/shiboken2/libshiboken/sbkarrayconverter.cpp:165:29: error:
      use of undeclared identifier '_PyLong_AsInt'
      convertPySequence(pyIn, _PyLong_AsInt, handle->data());

      A possible patch:

       - convertPySequence(pyIn, _PyLong_AsInt, handle->data());
      + convertPySequence(pyIn, PyInt_AsLong, handle->data());
      

        Attachments

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

          Activity

            People

            Assignee:
            alexandru.croitor Alexandru Croitor
            Reporter:
            awinterz Allen Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes