Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problems to configurate Qt 6.1.0 beta 2 in Windows



  • I can not configurate Qt 6.1.0 beta 2 in windows.
    I have got next error:
    -- Tool 'Qt6::moc' will be built from source.
    -- Tool 'Qt6::rcc' will be built from source.
    -- Tool 'Qt6::tracegen' will be built from source.
    -- Tool 'Qt6::cmake_automoc_parser' will be built from source.
    -- Using Qt bundled PCRE2.
    -- Using source syncqt found at: W:/qt-6.1.0/qtbase/libexec/syncqt.pl
    -- Running syncqt for module: 'QtCore'
    Can't locate File/Basename.pm in @INC (you may need to install the File::Basename module) (@INC contains:) at W:/qt-6.1.0/qtbase/libexec/syncqt.pl line 47.
    BEGIN failed--compilation aborted at W:/qt-6.1.0/qtbase/libexec/syncqt.pl line 47.
    CMake Error at qtbase/cmake/QtModuleHelpers.cmake:206 (message):
    Failed to run syncqt, return code: 255 QtCore
    Call Stack (most recent call first):
    qtbase/src/corelib/CMakeLists.txt:29 (qt_internal_add_module)

    -- Configuring incomplete, errors occurred!
    I tried to configure directly cmake-gui or by configuration script
    System can not be configured for QtCore
    Thank you for any help
    Leonid



  • @LeonidD I find the problem. It's Perl version. I download and install
    the last activePrel 5.28 x64


Log in to reply