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

QDoc: ManifestWriter may silently fail when output directory doesn't exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.11
    • Build tools: qdoc

      The ManifestWriter class fails to generate examples-manifest.xml when the output directory doesn't exist, but fails silently without any warning or error message. The file is only generated if another component (such as warning log initialization) has already created the output directory as a side effect.

      Steps to reproduce

        1. Create a QDoc project with examples configured:
          - Set examplesinstallpath
          - Set exampledirs
          - Include example projects
        2. Run QDoc without enabling warninglog configuration.
        3. Observe that examples-manifest.xml is NOT generated in the output directory.
        4. Enable warninglog in the configuration.
        5. Run QDoc again.
        6. Observe that examples-manifest.xml IS now generated.

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

            docinfrastructure Documentation Infrastructure Team
            paulwicking Paul Wicking
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes