Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unable to save PySide6 documentation
Forum Updated to NodeBB v4.3 + New Features

Unable to save PySide6 documentation

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 2 Posters 3.6k Views 2 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote last edited by
    #2

    Hi and welcome to devnet,

    From a quick check of the guide and a hunch, are you sure you have clang properly setup using one of the version provided by the Qt Company ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    C 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi and welcome to devnet,

      From a quick check of the guide and a hunch, are you sure you have clang properly setup using one of the version provided by the Qt Company ?

      C Offline
      C Offline
      casualcoder0805
      wrote last edited by
      #3

      @SGaist Thanks! The approach I took was using this link to download "libclang-release_20.1.1-based-windows-vs2019_64.7z". Could I be missing some intermediary steps that come after the install and before building Qt?

      FWIW I'm also skeptical that I've installed libxml2 and libxslt correctly but am having a hard time finding much that goes in depth there. Also should probably mention that currently I'm using the Windows 11 x64 machine.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote last edited by
        #4

        The log you posted does not mention the clang detection. Is it fully successful ?

        By the way, out of curiosity, why are you building PySide6 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        C 1 Reply Last reply
        0
        • SGaistS SGaist

          The log you posted does not mention the clang detection. Is it fully successful ?

          By the way, out of curiosity, why are you building PySide6 ?

          C Offline
          C Offline
          casualcoder0805
          wrote last edited by
          #5

          @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".
          
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #6

            These failures seems to be from extra components you did not install.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            C 1 Reply Last reply
            0
            • SGaistS SGaist

              These failures seems to be from extra components you did not install.

              C Offline
              C Offline
              casualcoder0805
              wrote last edited by
              #7

              @SGaist Just started from scratch, attempting to follow every single instruction to a tee and ended up with the same exact result. It's unfortunate that there isn't a flag that can be set when attempting to build the documentation that exits on missing components and notifies what they are. Every time I have to wait forever just to get the same "Doc strings extractions was not enabled for this Shiboken build".

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote last edited by
                #8

                Did you already check the bug report system to see if other people reported similar issues ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                C 1 Reply Last reply
                0
                • SGaistS SGaist

                  Did you already check the bug report system to see if other people reported similar issues ?

                  C Offline
                  C Offline
                  casualcoder0805
                  wrote last edited by
                  #9

                  @SGaist Ya I've done plenty of digging over there. Maybe it helped because I finally did manage to make some progress (kind of). The ninja apidoc command now fails due to a number of exceptions like the one below. I couldn't come across any discussion of paths being misrepresented like this so I'm guessing I made a careless mistake somewhere - just not sure how to go about determining where exactly without a never ending trial/error.

                  qt.shiboken.doc: (doc) While handling <snippet> in PySide6.QtXml.QDomNode, line 4: Failed to open file "\Qt\6.9.1\Src:C:\Users\Nicholas\Packages\BuildQt\pyside-setup\build\.venv\build\pyside6\doc\base\codesnippets:\Qt\6.9.1\Src\qtbase\src\xml\doc\snippets\code\src_xml_dom_qdom.py" for reading: The filename, directory name, or volume label syntax is incorrect.)
                  
                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote last edited by
                    #10

                    That's one very strange path Oo

                    Did your last try start from an empty dir ? (I mean all new, not just the content deleted)

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    C 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      That's one very strange path Oo

                      Did your last try start from an empty dir ? (I mean all new, not just the content deleted)

                      C Offline
                      C Offline
                      casualcoder0805
                      wrote last edited by
                      #11

                      @SGaist I believe so. Just tried again with this script and got the same result with the messed up paths. I ran a check to make sure all the dependencies exist beforehand as well.

                      :: Prevent the emoji error
                      set "PYTHONUTF8=1"
                      
                      set "LLVM_INSTALL_DIR=C:\libclang"
                      set "LIBX_PATH=C:\vcpkg\installed\x64-windows\bin"
                      set "CMAKE_PREFIX_PATH=C:\libclang\lib\cmake;C:\vcpkg\installed\x64-windows"
                      set "PATH=C:\Python\Python313\;C:\Python\Python313\Scripts;C:\Qt\Tools\CMake_64\bin;C:\Qt\6.9.1\msvc2022_64\bin;C:\libclang\bin;%LIBX_PATH%;C:\Qt\Tools\Ninja;C:\Graphviz\bin;%PATH%"
                      
                      :: Set working/project directory
                      set "PROJECT_DIR=C:\Users\Nicholas\dev\Builder"
                      
                      :: Create project folder if it doesn't exist
                      if not exist "%PROJECT_DIR%" mkdir "%PROJECT_DIR%"
                      
                      :: Navigate to project folder
                      cd "%PROJECT_DIR%"
                      
                      :: venv
                      if not exist ".venv" python -m venv .venv
                      call ".venv\Scripts\activate.bat"
                      
                      :: Upgrades
                      python -m pip install --upgrade pip setuptools wheel
                      
                      :: Clone PySide setup if needed
                      if not exist "pyside-setup" git clone https://code.qt.io/pyside/pyside-setup
                      
                      cd pyside-setup
                      
                      git fetch --all
                      git checkout 6.9.1
                      
                      :: Install dependencies
                      python -m pip install -r requirements.txt
                      python -m pip install -r requirements-doc.txt
                      
                      python setup.py build ^
                      --qtpaths="C:/Qt/6.9.1/msvc2022_64/bin/qtpaths.exe" ^
                      --qt-src-dir="C:/Qt/6.9.1/Src/qtbase" ^
                      --parallel=12 ^
                      --build-docs ^
                      --doc-build-online
                      
                      :: Navigate to pyside-setup build directory
                      cd C:\Users\Nicholas\dev\Builder\pyside-setup\build\.venv\build\pyside6
                      
                      :: Generate docs
                      ninja apidoc
                      
                      :: Leave shell open
                      cmd /k
                      
                      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