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

Build failure on MacOS High Sierra

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9
    • 5.9
    • Shiboken
    • None
    • 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

            alexandru.croitor Alexandru Croitor
            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