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

QT_SRC_DIR env var ignored when building with --build-docs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.5.0, 6.4.3
    • 6.5
    • Build System
    • None
    • All
    • e74125a79 (dev), 34791c75b (6.4)

    Description

      When setting the environment variable QT_SRC_DIR as is mentioned in https://doc.qt.io/qtforpython-6/gettingstarted.html#building-the-documentation-rst-api , the build still does not create apidoc generation targets, indicating that QT_SRC_DIR was not provided:

      (venv) [t_kyzik@novpc0rr1yn pyside-setup]$ export QT_SRC_DIR=$HOME/Build/qt-git/qt5/qtbase
      (venv) [t_kyzik@novpc0rr1yn pyside-setup]$ python setup.py install --qtpaths=$HOME/Qt/6.5.0/gcc_64/bin/qtpaths --ignore-git --debug --parallel=8 --verbose-build --module-subset=Core,Gui,Widgets,Charts --build-docs 2>&1 | tee docbuild2.out 

       

      -- apidoc generation targets disabled due to the following reasons:
          QT_SRC_DIR variable not set 

      It succeeds if you pass --qt-src-dir=path/to/qtbase.

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            kkyzivat Keith Kyzivat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: