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

Build error Windows llvm 18.1.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.3
    • PySide
    • None
    • Windows

      Compilation fails on Windows 10, using Visual Studio 2022 17.13.6

      Here is the build script:

       

       
      set PYTHON_EXE="D:/vcpkg2/installed/x64-windows/tools/python3/python.exe"
      set CMAKE_EXE="D:/vcpkg2/downloads/tools/cmake-3.30.2-windows/cmake-3.30.2-windows-i386/bin/cmake.exe"
      set QTPATHS_EXE="D:/vcpkg2/installed/x64-windows/tools/Qt6/bin/qtpaths.exe"
      set OPENSSL_PATH="D:/vcpkg2/installed/x64-windows/bin"
      set LLVM_INSTALL_DIR=D:/vcpkg2/downloads/tools/llvm-18.1.8
       
      %PYTHON_EXE% setup.py install --verbose-build --cmake %CMAKE_EXE% --qtpaths %QTPATHS_EXE% --openssl %OPENSSL_PATH% --module-subset=Core,Gui,Widgets,Help,Network,Concurrent,DBus,Designer,OpenGL,OpenGLWidgets,PrintSupport,Qml,Quick,QuickControls2,QuickTest,QuickWidgets,Xml,Test,Sql,Svg,SvgWidgets,UiTools --skip-docs --reuse-build --parallel=8
      

      Then apiextractor fails with tons of errors like this for each modules:

      D:\vcpkg2\downloads\tools\llvm-18.1.8\lib\clang\18\include\emmintrin.h:43:9: error: _Float16 is not supported on this target

      It fails for every module. I attached error log just for QtOpenGL, but the log is pretty similar for all other modules, none of them work.

       

       

       

       

       

       

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

            crmaurei Cristian Maureira-Fredes
            alexangle Alex Angle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes