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

Warning messages during configure are not helpful

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.8
    • Build System
    • None
    • macOS
    • 344d9465c (dev), d6444028d (6.8), ba30932cd (6.8), 13e096b49 (dev), 0a4d023e5 (dev), 1b22ef4a3 (6.8)

    Description

       

      When I run ./configure, the messages are not helpful in guiding me to a solution. They talk about a bunch of variables that I might need to set, but nothing tells me where or how to set them. As a user of "./configure" I expect something like "on macOS install llvm with brew, and then call configure again with xyz = zxy".

       

      WARNING: QDoc will not be compiled, probably because clang's C and C++ libraries could not be located. This means that you cannot build the Qt documentation.
      You may need to set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
      Other than clang's libraries, you may need to install another package, such as clang itself, to provide the ClangConfig.cmake file needed to detect your libraries. Once this
      file is in place, the configure script may be able to detect your system-installed libraries without further environment variables.
      On macOS, you can use Homebrew's llvm package.
      You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
      WARNING: The Clang-based lupdate parser will not be available. Suitable LLVM and Clang C++ libraries have not been found. You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
      

       

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: