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

Qt5DocToolsConfig.cmake fails to find qdoc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.1, 6.1.0 RC
    • 5.15.0 RC2
    • Build System
    • None
    • Windows 10 with MSVC 201
    • Windows
    • 1d4942ac20feb3cbbcd80622756fd4e1cf02e3f0 (qt/qttools/dev) fb4fbc21c4b5ff6ce1719add142e96d567918940 (qt/qttools/5.15)

    Description

      With Qt 5.15 in the CMAKE_PREFIX_PATH path, the configure step fails with the following error:

      CMake Error at C:/Qt/5.15.0/msvc2017_64/lib/cmake/Qt5DocTools/Qt5DocToolsConfig.cmake:9 (message):
        The package "Qt5DocTools" references the file
      
           "C:/Qt/5.15.0/msvc2017_64/bin/qdoc"
      
        but this file does not exist.  Possible reasons include:
      
        * The file was deleted, renamed, or moved to another location.
      
        * An install or uninstall procedure did not complete successfully.
      
        * The installation package was faulty and contained
      
           "C:/Qt/5.15.0/msvc2017_64/lib/cmake/Qt5DocTools/Qt5DocToolsConfig.cmake"
      
        but not all the files it references.
      
      Call Stack (most recent call first):
        C:/Qt/5.15.0/msvc2017_64/lib/cmake/Qt5DocTools/Qt5DocToolsConfig.cmake:25 (_qt5_DocTools_check_file_exists)
        C:/Qt/5.15.0/msvc2017_64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
        cmake/QulDocTools.cmake:2 (find_package)
        doc/CMakeLists.txt:1 (include)
      
      -- Configuring incomplete, errors occurred!
      

      This is because of the missing .exe suffix against qdoc. The configure step succeeds after adding the suffix.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            veshivas Venugopal Shivashankar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes