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

pyside6 build error. requires clang version 9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • 6.2.2
    • Other
    • None
    • All
    • 66129dacde (pyside/pyside-setup/dev) 9f6ebba4e5 (pyside/pyside-setup/6.2) 9f6ebba4e5 (pyside/tqtc-pyside-setup/6.2) 66129dacde (pyside/tqtc-pyside-setup/dev) 66129dacde (pyside/tqtc-pyside-setup/tqtc/dev) 9f6ebba4e5 (pyside/pyside-setup/6.2.4)

    Description

      pyside6 and shiboken6 require llvm/clang version >=9

      with llvm/clang version <9 ...

      actual: build error
      expected: config error = should throw fatal error in configure phase

      similar:
      qttools requires clang 8
      https://code.qt.io/cgit/qt/qttools.git/tree/configure.cmake#n17

      qt_find_package(WrapLibClang 8 PROVIDED_TARGETS WrapLibClang::WrapLibClang)
      

      with clang 7 / clang 8: error: 'CXCursor_ExceptionSpecificationKind_NoThrow' was not declared

       

      [ 82%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/qtdocparser.cpp.o
      /build/pyside-setup-opensource-src-6.2.2/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp: In function 'ExceptionSpecification clang::exceptionSpecificationFromClang(clang::BaseVisitor*, const CXCursor&, bool)':
      /build/pyside-setup-opensource-src-6.2.2/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp:330:10: error: 'CXCursor_ExceptionSpecificationKind_NoThrow' was not declared in this scope; did you mean 'CXCursor_ExceptionSpecificationKind_None'?
        330 |     case CXCursor_ExceptionSpecificationKind_NoThrow:
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |          CXCursor_ExceptionSpecificationKind_None
       

      Attachments

        For Gerrit Dashboard: PYSIDE-1806
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            milahu milan hauth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes