Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Compilation of QT6 has failed when tried to compile with MSYS64
Qt 6.11 is out! See what's new in the release blog

Compilation of QT6 has failed when tried to compile with MSYS64

Scheduled Pinned Locked Moved Unsolved Qt 6
3 Posts 3 Posters 926 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sathish_1985
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • S Sathish_1985

        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

        D Offline
        D Offline
        Dmitry.Sokolov
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved