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

Qt6 Cmake and Qmake build different behaviors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.0.0 Beta1
    • Build System: CMake
    • None
    • Windows 10, GCC 10.2.0, MinGW-w64 8.0.0
    • Windows

    Description

      when I use configure -nomake examples -nomake tests -cmake, it fails at

      – Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      – Found Threads: TRUE
      – Using Qt bundled PCRE2.
      – Found WrapPCRE2: TRUE
      CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:7 (message):
      Perl needs to be available to build Qt.
      Call Stack (most recent call first):
      qtbase/cmake/QtSyncQtHelpers.cmake:12 (qt_ensure_perl)
      qtbase/cmake/QtModuleHelpers.cmake:168 (qt_ensure_sync_qt)
      qtbase/src/corelib/CMakeLists.txt:29 (qt_internal_add_module)

      – Configuring incomplete, errors occurred!
      See also "D:/c/CMakeFiles/CMakeOutput.log".
      See also "D:/c/CMakeFiles/CMakeError.log".
      CMake Error at D:/qt6b/qtbase/cmake/QtProcessConfigureArgs.cmake:726 (message):
      CMake exited with code 1.

       

      but for qmake configure (without -cmake) everything works fine.

      my windows dose not have perl installed and it works on Qt 5 build, which means perl is not needed, right?

      Attachments

        1. CMakeError.log
          50 kB
        2. CMakeOutput.log
          86 kB
        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:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes