@SGaist I think you were on to something regarding Clang install as the most recent attempt (below) does seem to indicate that it was found. This came after removing the other install and using "libclang-release_18.1.7-based-windows-vs2022_64". Unfortunately I still end up receiving "Doc strings extractions not enabled in this shiboken build" though.
The reason that I'm trying to build PySide6 is that I've been under the impression that it's a prerequisite for saving the documentation -> loading the .qch files into Qt Assistant. That being said I would not be at all surprised if I just misinterpreted one of the instructions. If there's a different approach that can just get me the PySide6 .qch files I'm all ears.
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.14.11
** Copyright (c) 2025 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Already on '6.9.1'
Your branch is up to date with 'origin/6.9.1'.
[INFO]: running build
[INFO]: Adding C:\libclang\bin as detected by LLVM_INSTALL_DIR to PATH
[INFO]: Inserting path 'C:\libclang\bin' to environment
[INFO]: ==============================
[INFO]: Package version: 6.9.1
[INFO]: Build type: Release
[INFO]: Build tests: 1
[INFO]: ---
[INFO]: Make path: C:\Qt\Tools\Ninja\ninja.EXE
[INFO]: Make generator: Ninja
[INFO]: Make jobs: -j8
[INFO]: ---
[INFO]: setup.py directory: C:\dev\PySideDoc\pyside-setup
[INFO]: Build scripts directory: C:\dev\PySideDoc\pyside-setup\build_scripts
[INFO]: Sources directory: C:\dev\PySideDoc\pyside-setup\sources
[INFO]: make build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\build
[INFO]: make install directory: C:\dev\PySideDoc\pyside-setup\build\.venv\install
[INFO]: setuptools build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\package
[INFO]: setuptools install directory: C:\dev\PySideDoc\.venv\Lib\site-packages
[INFO]: ---
[INFO]: Python executable: C:\dev\PySideDoc\.venv\Scripts\python.exe
[INFO]: Python includes: C:\Program Files\Python313\Include
[INFO]: Python library: C:\Program Files\Python313\libs\python313.lib
[INFO]: Python prefix: C:\dev\PySideDoc\.venv
[INFO]: Python scripts: C:\dev\PySideDoc\.venv\Scripts
[INFO]: Python arch: 64
[INFO]: ---
[INFO]: Qt prefix: C:/Qt/6.9.1/msvc2022_64
[INFO]: Qt qmake: None
[INFO]: Qt qtpaths: C:\Qt\6.9.1\msvc2022_64\bin\qtpaths.exe
[INFO]: Qt version: 6.9.1
[INFO]: Qt bins: C:/Qt/6.9.1/msvc2022_64/bin
[INFO]: Qt docs: C:/Qt/Docs/Qt-6.9.1
[INFO]: Qt plugins: C:/Qt/6.9.1/msvc2022_64/plugins
[INFO]: ---
[INFO]: OpenSSL dll directory: None
[INFO]: ==============================
[INFO]: Creating build folder C:\dev\PySideDoc\pyside-setup\build\.venv\build...
[INFO]: Creating install folder C:\dev\PySideDoc\pyside-setup\build\.venv\install...
[INFO]: Building module shiboken6...
[INFO]: Creating module build folder C:\dev\PySideDoc\pyside-setup\build\.venv\build\shiboken6...
[INFO]: Using UNITY build
[INFO]: Qt Source dir: C:/Qt/6.9.1/Src/qtbase
[INFO]: Output format will be HTML
[INFO]: Configuring module shiboken6 (C:\dev\PySideDoc\pyside-setup\sources\shiboken6)...
-- The C compiler identification is MSVC 19.44.35214.0
-- The CXX compiler identification is MSVC 19.44.35214.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SHIBOKEN_IS_CROSS_BUILD: FALSE
-- SHIBOKEN_BUILD_LIBS: ON
-- SHIBOKEN_BUILD_TOOLS: ON
-- BUILD_TESTS: 1
-- Using Qt 6
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
CMake Warning at cmake/ShibokenHelpers.cmake:211 (_message):
Call Stack (most recent call first):
ApiExtractor/CMakeLists.txt:98 (message)
-- Configuring done (5.7s)
-- Generating done (0.7s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_DOCS
CMAKE_RULE_MESSAGES
OpenGL_GL_PREFERENCE
QT_SRC_DIR
Qt5Help_DIR
-- Build files have been written to: C:/dev/PySideDoc/pyside-setup/build/.venv/build/shiboken6
[INFO]: -- Compiling module shiboken6...
[102/158] Running generator for 'sample' test binding...
qt.shiboken: (sample) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include
(sample) Clang: 1 diagnostic messages:
:0:0: warning: /Zc:__cplusplus: 'linker' input unused
qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\expression.h:18: Enum 'Expression::Operation' (class: Expression) does not have a type entry (type systems: sample)
(sample) [1191ms] Generated class model (124). [WARNING]
(sample) [1191ms] Generated enum model (5). [OK]
qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\handle.h:10: namespace 'Foo' does not have a type entry (type systems: sample)
(sample) [1192ms] Generated namespace model (7). [WARNING]
(sample) [1207ms] Resolved typedefs (36). [OK]
(sample) [1208ms] Fixed class inheritance. [OK]
(sample) [1213ms] Checked for inconsistencies in class model. [OK]
qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\samplebinding\typesystem_sample.xml:479: Global function 'mathSum(int,int)' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\samplebinding\typesystem_sample.xml:418: enum 'SampleNamespace::DerivedFromNamespace::SampleNamespace' is specified in typesystem, but not declared.
(sample) [1216ms] Checked for inconsistencies in typesystem (470). [WARNING]
(sample) [1217ms] Checked for inconsistencies in function modifications. [OK]
(sample) [1222ms] Wrote log files. [OK]
qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\functions.h:54: There's no user provided way (conversion rule, argument removal, custom code, etc) to handle the primitive return type 'const int *' in function 'acceptIntReturnPtr(int x)'.
(sample) [1480ms] Ran Source generator. [WARNING]
(sample) [1566ms] Ran Header generator. [OK]
Done, (sample) 1567ms, 6 warnings (3 known issues)
[103/158] Running generator for 'smart' test binding...
qt.shiboken: (smart) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include
(smart) Clang: 1 diagnostic messages:
:0:0: warning: /Zc:__cplusplus: 'linker' input unused
(smart) [494ms] Generated class model (10). [WARNING]
(smart) [494ms] Generated enum model (0). [OK]
(smart) [495ms] Generated namespace model (6). [OK]
qt.shiboken: (smart) C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\memory:3468: Stripping argument #1 of void std::unique_ptr::reset(std::unique_ptr::pointer) due to unmatched type "std::unique_ptr::pointer" with default expression "nullptr": Unable to translate type "std::unique_ptr::pointer": Cannot find type entry for "std::unique_ptr::pointer".
(smart) [500ms] Resolved typedefs (26). [WARNING]
(smart) [500ms] Fixed class inheritance. [OK]
(smart) [500ms] Checked for inconsistencies in class model. [OK]
(smart) [500ms] Checked for inconsistencies in typesystem (110). [OK]
(smart) [500ms] Checked for inconsistencies in function modifications. [OK]
(smart) [503ms] Wrote log files. [OK]
(smart) [544ms] Ran Source generator. [OK]
(smart) [559ms] Ran Header generator. [OK]
Done, (smart) 560ms, 2 warnings
[104/158] Running generator for 'Shiboken'...
qt.shiboken: (shiboken) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include
(shiboken) Clang: 1 diagnostic messages:
:0:0: warning: /Zc:__cplusplus: 'linker' input unused
(shiboken) [19ms] Generated class model (0). [WARNING]
(shiboken) [19ms] Generated enum model (0). [OK]
(shiboken) [19ms] Generated namespace model (0). [OK]
(shiboken) [19ms] Resolved typedefs (0). [OK]
(shiboken) [19ms] Fixed class inheritance. [OK]
(shiboken) [19ms] Checked for inconsistencies in class model. [OK]
(shiboken) [19ms] Checked for inconsistencies in typesystem (60). [OK]
(shiboken) [19ms] Checked for inconsistencies in function modifications. [OK]
(shiboken) [21ms] Wrote log files. [OK]
qt.shiboken: (shiboken) No C++ classes found!
(shiboken) [26ms] Ran Source generator. [WARNING]
(shiboken) [27ms] Ran Header generator. [OK]
Done, (shiboken) 27ms, 2 warnings
[108/158] Running generator for 'minimal' test binding...
qt.shiboken: (minimal) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include
(minimal) Clang: 1 diagnostic messages:
:0:0: warning: /Zc:__cplusplus: 'linker' input unused
(minimal) [438ms] Generated class model (7). [WARNING]
(minimal) [444ms] Generated enum model (0). [OK]
(minimal) [444ms] Generated namespace model (0). [OK]
(minimal) [445ms] Resolved typedefs (28). [OK]
(minimal) [445ms] Fixed class inheritance. [OK]
(minimal) [446ms] Checked for inconsistencies in class model. [OK]
(minimal) [446ms] Checked for inconsistencies in typesystem (105). [OK]
(minimal) [446ms] Checked for inconsistencies in function modifications. [OK]
(minimal) [448ms] Wrote log files. [OK]
(minimal) [468ms] Ran Source generator. [OK]
(minimal) [473ms] Ran Header generator. [OK]
Done, (minimal) 474ms, 1 warnings
[125/158] Running generator for 'other' test binding...
qt.shiboken: (other) Duplicate type entry: 'SharedPtr'
qt.shiboken: (other) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\otherbinding\typesystem_other.xml:14:63: Warning: Duplicate type entry: 'SharedPtr'.
qt.shiboken: (other) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include
(other) Clang: 1 diagnostic messages:
:0:0: warning: /Zc:__cplusplus: 'linker' input unused
(other) [1937ms] Generated class model (141). [WARNING]
(other) [1937ms] Generated enum model (5). [OK]
qt.shiboken: (other) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\handle.h:10: namespace 'Foo' does not have a type entry (type systems: other, sample, smart)
(other) [1938ms] Generated namespace model (13). [WARNING]
(other) [1960ms] Resolved typedefs (36). [OK]
(other) [1960ms] Fixed class inheritance. [OK]
(other) [1966ms] Checked for inconsistencies in class model. [OK]
(other) [1968ms] Checked for inconsistencies in typesystem (504). [OK]
(other) [1968ms] Checked for inconsistencies in function modifications. [OK]
(other) [1973ms] Wrote log files. [OK]
(other) [1996ms] Ran Source generator. [OK]
(other) [2005ms] Ran Header generator. [OK]
Done, (other) 2005ms, 4 warnings (2 known issues)
[158/158] Linking CXX executable tests\dumpcodemodel\dumpcodemodel.exe
[INFO]: Generating Shiboken documentation
[1/1] Generating shiboken documentation HTML files
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
myst v3.0.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'replacements', 'substitution', 'html_image', 'strikethrough', 'amsmath', 'colon_fence', 'deflist', 'dollarmath', 'fieldlist', 'tasklist', 'html_admonition', 'smartquotes'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=6, heading_slug_func=None, html_meta={}, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 26 source files that are out of date
updating environment: [new config] 26 added, 0 changed, 0 removed
reading sources... [100%] typesystem_variables
C:\dev\PySideDoc\pyside-setup\sources\shiboken6\doc\typesystem_variables.rst:169: WARNING: duplicate label checktype, other instance in C:\dev\PySideDoc\pyside-setup\sources\shiboken6\doc\typesystem_converters.rst
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
writing output... [100%] typesystem_variables
C:\dev\PySideDoc\pyside-setup\sources\shiboken6\doc\typesystem_arguments.rst:192: WARNING: undefined label: 'parent'
generating indices... py-modindex done
highlighting module code...
writing additional pages... search done
copying images... [100%] images/converter.png
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 2 warnings.
The HTML pages are in html.
[INFO]: Installing module shiboken6...
[0/1] Install the project...-- Install configuration: "Release"
[INFO]: Created C:\dev\PySideDoc\pyside-setup\build_history
[INFO]: Preparing setup tools build directory.
[INFO]: Copying files...
[INFO]: Qt dependency DLLs (MSVC redist) will not be copied.
[INFO]: running build_py
[WARNING]: warning: build_py: byte-compiling is disabled, skipping.
[INFO]: running build_ext
[INFO]: --- Build completed (75s)
[INFO]: running build
[INFO]: Adding C:\libclang\bin as detected by LLVM_INSTALL_DIR to PATH
[INFO]: Inserting path 'C:\libclang\bin' to environment
[INFO]: Preparing setup tools build directory.
[INFO]: Removing C:\dev\PySideDoc\pyside-setup\build\.venv\package
[INFO]: Copying files...
[INFO]: Making file C:\dev\PySideDoc\pyside-setup\build\.venv\package\shiboken6_generator\scripts\shiboken_tool.py.
[INFO]: Qt dependency DLLs (MSVC redist) will not be copied.
[INFO]: running build_ext
[INFO]: --- Build completed (2s)
[INFO]: running build
[INFO]: Adding C:\libclang\bin as detected by LLVM_INSTALL_DIR to PATH
[INFO]: Inserting path 'C:\libclang\bin' to environment
[INFO]: ==============================
[INFO]: Package version: 6.9.1
[INFO]: Build type: Release
[INFO]: Build tests: 1
[INFO]: ---
[INFO]: Make path: C:\Qt\Tools\Ninja\ninja.EXE
[INFO]: Make generator: Ninja
[INFO]: Make jobs: -j8
[INFO]: ---
[INFO]: setup.py directory: C:\dev\PySideDoc\pyside-setup
[INFO]: Build scripts directory: C:\dev\PySideDoc\pyside-setup\build_scripts
[INFO]: Sources directory: C:\dev\PySideDoc\pyside-setup\sources
[INFO]: make build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\build
[INFO]: make install directory: C:\dev\PySideDoc\pyside-setup\build\.venv\install
[INFO]: setuptools build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\package
[INFO]: setuptools install directory: C:\dev\PySideDoc\.venv\Lib\site-packages
[INFO]: ---
[INFO]: Python executable: C:\dev\PySideDoc\.venv\Scripts\python.exe
[INFO]: Python includes: C:\Program Files\Python313\Include
[INFO]: Python library: C:\Program Files\Python313\libs\python313.lib
[INFO]: Python prefix: C:\dev\PySideDoc\.venv
[INFO]: Python scripts: C:\dev\PySideDoc\.venv\Scripts
[INFO]: Python arch: 64
[INFO]: ---
[INFO]: Qt prefix: C:/Qt/6.9.1/msvc2022_64
[INFO]: Qt qmake: None
[INFO]: Qt qtpaths: C:\Qt\6.9.1\msvc2022_64\bin\qtpaths.exe
[INFO]: Qt version: 6.9.1
[INFO]: Qt bins: C:/Qt/6.9.1/msvc2022_64/bin
[INFO]: Qt docs: C:/Qt/Docs/Qt-6.9.1
[INFO]: Qt plugins: C:/Qt/6.9.1/msvc2022_64/plugins
[INFO]: ---
[INFO]: OpenSSL dll directory: None
[INFO]: ==============================
[INFO]: Building module pyside6...
[INFO]: Creating module build folder C:\dev\PySideDoc\pyside-setup\build\.venv\build\pyside6...
[INFO]: Using UNITY build
[INFO]: Qt Source dir: C:/Qt/6.9.1/Src/qtbase
[INFO]: Output format will be HTML
[INFO]: Configuring module pyside6 (C:\dev\PySideDoc\pyside-setup\sources\pyside6)...
-- The C compiler identification is MSVC 19.44.35214.0
-- The CXX compiler identification is MSVC 19.44.35214.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- PYSIDE_IS_CROSS_BUILD:
-- Shiboken6Config: Using default python: .abi3
-- Found Python: C:\dev\PySideDoc\.venv\Scripts\python.exe (found suitable version "3.13.5", minimum required is "3") found components: Interpreter Development Development.Module Development.Embed
-- PYTHON_LIMITED_LIBRARIES: C:\Program Files\Python313\libs\python3.lib
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: 'C:\Program Files\Python313\Include'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: 'C:\Program Files\Python313\libs\python3.lib'
-- libshiboken built for Release
-- ******************************************************
-- ** PySide6 Limited API enabled.
-- ******************************************************
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- *** computed QT_INCLUDE_DIR as C:/Qt/6.9.1/msvc2022_64/include
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.50.1.windows.1")
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
CMake Warning at cmake/PySideHelpers.cmake:134 (find_package):
By not providing "FindQt6WebEngineQuick.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt6WebEngineQuick", but CMake did not find one.
Could not find a package configuration file provided by "Qt6WebEngineQuick"
with any of the following names:
Qt6WebEngineQuickConfig.cmake
qt6webenginequick-config.cmake
Add the installation prefix of "Qt6WebEngineQuick" to CMAKE_PREFIX_PATH or
set "Qt6WebEngineQuick_DIR" to a directory containing one of the above
files. If "Qt6WebEngineQuick" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
cmake/PySideSetup.cmake:168 (collect_optional_modules)
CMakeLists.txt:12 (include)
-- Could NOT find Qt6Pdf (missing: Qt6Pdf_DIR)
CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message):
Failed to find optional Qt component "Pdf".
Expected Config file at
"C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6Pdf/Qt6PdfConfig.cmake" does NOT
exist
Call Stack (most recent call first):
cmake/PySideSetup.cmake:183 (find_package)
CMakeLists.txt:12 (include)
-- Could NOT find Qt6PdfWidgets (missing: Qt6PdfWidgets_DIR)
CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message):
Failed to find optional Qt component "PdfWidgets".
Expected Config file at
"C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsConfig.cmake"
does NOT exist
Call Stack (most recent call first):
cmake/PySideSetup.cmake:183 (find_package)
CMakeLists.txt:12 (include)
-- Could NOT find Qt6RemoteObjects (missing: Qt6RemoteObjects_DIR)
CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message):
Failed to find optional Qt component "RemoteObjects".
Expected Config file at
"C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6RemoteObjects/Qt6RemoteObjectsConfig.cmake"
does NOT exist
Call Stack (most recent call first):
cmake/PySideSetup.cmake:183 (find_package)
CMakeLists.txt:12 (include)
-- Could NOT find Qt6Scxml (missing: Qt6Scxml_DIR)
CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message):
Failed to find optional Qt component "Scxml".