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

Qt 6 cannot pass configure on mingw64 and cmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.0.0 Alpha
    • Build System: CMake
    • None
    • Windows 10, GCC 10.2.0, MinGW-w64 8.0.0, CMake 3.18.4
    • Windows

    Description

      build from source and NOT same as src.

      ..\src\configure -cmake

       

      error is

      ```

      WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
      Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation. On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution. On macOS, you can use Homebrew's llvm package.
      WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.

      Qt is now configured for building. Just run 'cmake --build . --parallel'

      Once everything is built, you must run 'cmake --install .'
      Qt will be installed into 'C:/Program Files (x86)/Qt'

      To configure and build other Qt modules, you can use the following convenience script:
      /bin/qt-cmake-private

      If reconfiguration fails for some reason, try to remove 'CMakeCache.txt' from the build directory

      – Configuring incomplete, errors occurred!
      See also "D:/b/CMakeFiles/CMakeOutput.log".
      See also "D:/b/CMakeFiles/CMakeError.log".
      CMake Error at D:/qt6-src/qtbase/cmake/QtProcessConfigureArgs.cmake:676 (message):
      CMake exited with code 1.

      ```

       

      Attachments

        1. CMakeError.log
          57 kB
        2. CMakeOutput.log
          91 kB

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              dext dexter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes