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

Remove perl dependency to build Qt Essentials

    XMLWordPrintable

Details

    • User Story
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0 Beta2
    • 6.0.0 Alpha
    • Build System: CMake
    • None
    • Linux/X11, Windows
    • cff4cde41 (dev), 4b415fbfa (dev)

    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

          For Gerrit Dashboard: QTBUG-87480
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes