Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68473

Building docs fails for specific modules

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.11.0, 5.11.1
    • Build tools: qdoc
    • None
    • Suse 42.3

      gcc v7.2.1

      x86_64

       

    Description

      Commercial shadow build of Qt using LLVM_INSTALL_DIR env var pointing to Qt's prebuilt libclang 60 package.

      Qt's configure/make/make install run fine, the full set of available modules (no artificial changes / skipping modules) gets built and installed.

      Then docs are generated for all modules by issueing top-level 'make docs' and 'make install_docs'.

      For almost all modules 'make docs' finishes without problems, except for qtspeech + qtandroidextras + qtmacextras + qtwinextras + qtactiveqt. All of these fail with the same error like this one from qtspeech:

      make[5]: Map '<...>/qt-5.11.0/qtspeech/src/plugins' wordt verlaten
      <...>/qt-5.11.0/qtspeech/src/qdoc_wrapper.sh -outputdir <...>/qt-5.11.0/qtspeech/doc/qtspeech -installdir <...>/qt-5.11.0/install/doc /home/development/qt-everywhere-src-5.11.0/qtspeech/src/doc/qtspeech.qdocconf -prepare -indexdir <...>/qt-5.11.0/qtbase/doc -no-link-errors
      /home/development/qt-everywhere-src-5.11.0/qtspeech/src/doc/qtspeech.qdocconf:18: (qdoc) error: Environment variable 'QT_INSTALL_HEADERS' undefined
      Environment variable 'QT_INSTALL_HEADERS' undefined
      
      Aborting
      Makefile:1254: recept voor doel 'prepare_docs' is mislukt
      make[4]: *** [prepare_docs] Fout 1
      make[4]: Map '<...>/qt-5.11.0/qtspeech/src' wordt verlaten
      Makefile:1283: recept voor doel 'sub-src-prepare_docs' is mislukt
      make[3]: *** [sub-src-prepare_docs] Fout 2
      make[3]: Map '<...>/qt-5.11.0/qtspeech' wordt verlaten
      Makefile:2164: recept voor doel 'module-qtspeech-prepare_docs' is mislukt
      make[2]: *** [module-qtspeech-prepare_docs] Fout 2
      

      When I first configure/build/install Qt, then reconfigure with skipping of these modules and then build/install the docs, everything finishes without problems (but obviously also without these modules' docs).

       

      Attachments

        1. config.summary
          12 kB
          user-678dd
        2. configure.txt
          0.3 kB
          user-678dd

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              gbk Martin Smith (Qt)
              jirauser24743 user-678dd (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes