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

Shiboken preprocessor fails to resolve headers from system frameworks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: dev
    • Fix Version/s: dev
    • Component/s: Shiboken
    • Labels:
      None
    • Environment:
      macOS
    • Commits:
      b262da528e2d6346c528f523d15e8e067ddd7a17

      Description

      When shiboken parses the macOS version of gl.h

      #include <OpenGL/gltypes.h>
      

      the preprocessor fails to find the specified gltypes.h header because the include paths used by shiboken don't contain any macOS frameworks paths.

      This obviously causes a bunch of GL typedefs not being added, and thus causing type system issues.

      The OpenGL types are found on linux platforms presumably because shiboken adds an implicit /usr/include path.

        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:
            alexandru.croitor Alexandru Croitor
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes