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

A Minimal qdocconf File incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.3, 6.6.0 Beta3, 6.7.0 FF
    • 6.6.0 Beta2
    • Build tools: qdoc
    • None
    • Ubuntu 22 x86_64 5.19.0-50-generic
    • Linux/Wayland
    • 746cfebb0 (dev), a4feaf75e (6.6), cf113ff68 (6.5)
    • DaVinci 84

    Description

      I try use qdoc for one .h file. Looks like "Minimal qdocconf File" text outdated:

      include(compat.qdocconf)
      outputdir   = html
      headerdirs  = .
      sourcedirs  = .
      exampledirs = .
      imagedirs   = ./images
      

      I run qdoc:

      $ /home/user/Qt/6.6.0/gcc_64/bin/qdoc --single-exec --no-examples --debug Minimal_qdocconf.qdocconf
      QDoc: error: Cannot open file '/home/user/qdoc_h_test/include(compat.qdocconf)': No such file or directory
      Cannot open file '/home/user/qdoc_h_test/include(compat.qdocconf)': No such file or directory
      
      Aborting
      

      Let's check qdoc version:

      $ /home/user/Qt/6.6.0/gcc_64/bin/qdoc --version
      qdoc 6.6.0
      

      Looks like it is the same problem. You can repeat my steps using qdoc_h_test.7z .

      2) I am also confusing by page. Because this page suggest use "-outputdir" but

      /home/user/Qt/6.6.0/gcc_64/bin/qdoc --help
      

      Suggest use "--outputdir" (double minus).
      Even it is not important, let's use one style!

      Attachments

        For Gerrit Dashboard: QTBUG-115602
        # Subject Branch Project Status CR V

        Activity

          People

            paulwicking Paul Wicking
            dungeonlords Andrei Cherniaev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes