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

Qt Mac FFMPEG: linker command failed with exit code 1



  • I use ffmpeg in Qt on my Mac.But I get some error:
    :-1: warning: argument unused during compilation: '-pthread'
    ld: library not found for -lXfixes
    :-1: error: linker command failed with exit code 1 (use -v to see invocation)
    :-1: error: [FFMPEGTest.app/Contents/MacOS/FFMPEGTest] Error 1.
    Would you like help me ?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Not related to Qt bug depending on what you want to use from ffmpeg you should rather install it using e.g. macports or brew.


Log in to reply