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

Compilation of QT6 has failed when tried to compile with MSYS64



  • Hi All,

    When i try to compile QT6 source code with MSYS64, i am getting error.
    Could anyone have any idea about about the following error.

    objcopy --only-keep-debug ../../../../plugins/styles/qwindowsvistastyle.dll ../../../../plugins/styles/qwindowsvistastyle.dll.debug && objcopy --strip-debug ../../../../plugins/styles/qwindowsvistastyle.dll && objcopy --add-gnu-debuglink=../../../../plugins/styles/qwindowsvistastyle.dll.debug ../../../../plugins/styles/qwindowsvistastyle.dll
    make[6]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase/src/plugins/styles/windowsvista'
    make[5]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase/src/plugins/styles/windowsvista'
    make[4]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase/src/plugins/styles'
    make[3]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase/src/plugins'
    make[2]: *** [Makefile:699: sub-plugins-make_first] Error 2
    make[2]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase/src'
    make[1]: *** [Makefile:54: sub-src-make_first] Error 2
    make[1]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase'
    make: *** [Makefile:86: module-qtbase-make_first] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...

    Regards,
    Sathish.P


  • Lifetime Qt Champion

    Don't know if it is supported at all.
    Please take a look where the error occours - your output doesn't show the origin of the error.



  • @Sathish_1985
    There should be the error message before the line

    make[6]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase/src/plugins/styles/windowsvista'

    in your log.


Log in to reply