Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Pyside6 build fails on Windows ARM64
Qt 6.11 is out! See what's new in the release blog

Pyside6 build fails on Windows ARM64

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 734 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hey_RAM
    wrote on last edited by
    #1

    Hi Developers

    I am currently trying to build PySide6 as both Python package and a static/dynamic library.
    I am using latest Visual Studio 2022 for building on a native WoA device. Here are the steps I am using for building:

    1. Downloaded the llvm qt clang https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_20.1.3-based-windows-vs2022_arm64.7z
    2. Set the appropriate path for LLVM:
      set LLVM_INSTALL_DIR=path to libclang
      set PATH=path to libclang\bin;%PATH%
      3.cd pyside-setup && git checkout 6.8.3
    3. Installed requirements.txt and configured properly by using :
      python setup.py build --qtpaths=c:\path\to\qtpaths.exe --openssl=c:\path\to\openssl\bin --build-tests --ignore-git --parallel=8

    But fails due to missing identifiers from GL:

    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:69:11: error: use of undeclared identifier 'GLuint'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:71:5: error: unknown type name 'GLuint'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:72:5: error: unknown type name 'GLuint'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:83:5: error: unknown type name 'GLuint'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:99:33: error: unknown type name 'GLbitfield'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:100:33: error: unknown type name 'GLenum'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:106:33: error: unknown type name 'GLbitfield'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:107:33: error: unknown type name 'GLenum'
    C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:112:33: error: unknown type name 'GLbitfield'
    
    1 Reply Last reply
    0
    • F Offline
      F Offline
      friedemannkleint
      wrote on last edited by
      #2

      Please try 6.9.1; 6.8 might be too old for that.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved