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. Is it possible and easy to build doc for pyside6 in pch?
Forum Updated to NodeBB v4.3 + New Features

Is it possible and easy to build doc for pyside6 in pch?

Scheduled Pinned Locked Moved Solved Qt for Python
5 Posts 3 Posters 491 Views 1 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.
  • jronaldJ Offline
    jronaldJ Offline
    jronald
    wrote on last edited by jronald
    #1

    And even better let F1 work in Qt Creator?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      friedemannkleint
      wrote on last edited by
      #2

      You probably mean .qch - yes, see section Building the documentation .

      jronaldJ 2 Replies Last reply
      2
      • F friedemannkleint

        You probably mean .qch - yes, see section Building the documentation .

        jronaldJ Offline
        jronaldJ Offline
        jronald
        wrote on last edited by
        #3

        @friedemannkleint
        But I just couldn't find the source for pyside6, which is used to build the doc.
        Could you tell me?

        The repo https://code.qt.io/cgit/pyside/pyside.git/ is very old.

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

          Hi,

          AFAIK, it's https://code.qt.io/cgit/pyside/pyside-setup.git/

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

          1 Reply Last reply
          1
          • F friedemannkleint

            You probably mean .qch - yes, see section Building the documentation .

            jronaldJ Offline
            jronaldJ Offline
            jronald
            wrote on last edited by jronald
            #5

            @friedemannkleint
            @SGaist

            $ pip install -r requirements.txt
            ...
            $ pip install graphviz sphinx_tabs
            ... (conflict: sphinx-tabs will install sphinx 5.3.0, but sphix-panels will install sphinx 4.5.0)
            $ pip list
            Package                       Version
            ----------------------------- -----------
            alabaster                     0.7.12
            altgraph                      0.17.3
            Babel                         2.11.0
            beautifulsoup4                4.11.1
            build                         0.7.0
            certifi                       2022.9.24
            charset-normalizer            2.1.1
            distro                        1.8.0
            docutils                      0.18.1
            furo                          2022.9.29
            graphviz                      0.20.1
            idna                          3.4
            imagesize                     1.4.1
            Jinja2                        3.1.2
            MarkupSafe                    2.1.1
            Nuitka                        1.1.7
            numpy                         1.23.4
            packaging                     21.3
            pep517                        0.13.0
            pip                           22.3
            Pygments                      2.13.0
            PyInstaller                   3.6
            PyOpenGL                      3.1.6
            pyparsing                     3.0.9
            pytz                          2022.6
            requests                      2.28.1
            setuptools                    63.2.0
            six                           1.16.0
            snowballstemmer               2.2.0
            soupsieve                     2.3.2.post1
            Sphinx                        5.3.0
            sphinx-basic-ng               1.0.0b1
            sphinx-copybutton             0.5.0
            sphinx-panels                 0.6.0
            sphinx-tabs                   3.4.1
            sphinxcontrib-applehelp       1.0.2
            sphinxcontrib-devhelp         1.0.2
            sphinxcontrib-htmlhelp        2.0.0
            sphinxcontrib-jsmath          1.0.1
            sphinxcontrib-qthelp          1.0.3
            sphinxcontrib-serializinghtml 1.1.5
            tomli                         2.0.1
            urllib3                       1.26.12
            wheel                         0.38.1
            $ python ./setup.py build_rst_docs --build-docs --qt-target-path=/usr/include/qt6
            ...
            

            It takes less than a minute to complete, html are generated but no doc for api.
            Does the param --qt-target-path need the source code for qt cpp instead of /usr/include/qt6 here?

            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