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

Remove perl dependency to build Qt Essentials

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: In Progress
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0 Alpha
    • Fix Version/s: 6.5.0 FF
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      Linux/X11, Windows

      Description

      qt5's configure system uses perl only if a ".git" folder is detected, both on linux and on windows

      qt6's cmake build does not seem to do the same, because when trying to build the official alpha tarball, I get this error:

      -- Could NOT find WrapSystemPCRE2 (missing: PCRE2_LIBRARIES __pcre2_found)
      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!
      

      There seem to be a way to disable perl here but I could not find a way to set properly this "NO_SYNC_QT" variable.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              semlanik Alexey Edelev
              Reporter:
              ericlemanissier Eric Lemanissier
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: