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

qdoc handles relative paths poorly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.5.1
    • Build tools: qdoc
    • OS X

    Description

      $ stat foo.qdocconf 
      16777220 75513103 -rw-r--r-- 1 jakepetroules staff 0 0 "Feb 25 17:14:28 2016" "Feb 25 17:14:25 2016" "Feb 25 17:14:25 2016" "Feb 25 17:14:25 2016" 4096 0 0 foo.qdocconf
      $ stat doc/foo.qdocconf 
      16777220 75512622 -rw-r--r-- 1 jakepetroules staff 0 0 "Feb 25 17:13:34 2016" "Feb 25 17:13:34 2016" "Feb 25 17:13:34 2016" "Feb 25 17:12:19 2016" 4096 0 0 doc/foo.qdocconf
      $ ~/Qt/5.5/clang_64/bin/qdoc -prepare -no-link-errors -outputdir /tmp/out -indexdir /tmp/idx foo.qdocconf
      $ ~/Qt/5.5/clang_64/bin/qdoc -prepare -no-link-errors -outputdir /tmp/out -indexdir /tmp/idx doc/foo.qdocconf
      qdoc: error: Cannot open file 'doc/foo.qdocconf': No such file or directory
      Cannot open file 'doc/foo.qdocconf': No such file or directory
      
      Aborting

      For some reason the latter path is not accessible to qdoc although the file exists. Prepending $PWD to the path, making it absolute, works in both cases.

      Attachments

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

        Activity

          People

            treinio Topi Reiniƶ
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes