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):
-- 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.