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

Qt 6 cannot pass configure on mingw64 and cmake

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated 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

      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.

      ```

       

        1. CMakeOutput.log
          91 kB
        2. CMakeError.log
          57 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes