Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69076

FTBFS qtmultimedia on macos

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.2
    • 5.11.0
    • Multimedia
    • None
    • macOS

    Description

      When building qtmultimedia without opengl apple clang 7.3 and 8.1, linking fails with following error:

       

      linking ../../../../plugins/mediaservice/libqavfmediaplayer.dylib
      Undefined symbols for architecture x86_64:
        "AVFVideoRendererControl::staticMetaObject", referenced from:
            AVFMediaPlayerService::releaseControl(QMediaControl*) in avfmediaplayerservice.o
        "AVFVideoRendererControl::AVFVideoRendererControl(QObject*)", referenced from:
            AVFMediaPlayerService::requestControl(char const*) in avfmediaplayerservice.o
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)

       

      Configuration: 

      configure -top-level -shared -opensource -confirm-license -nomake examples -nomake tests -prefix /Users/travis/.conan/data/Qt/5.11.0/ericLemanissier/testing/package/d9edd1b76eae2e91435dd3b06f787ae9c657c65d -release -skip qtserialport -skip qtwebchannel -skip qtandroidextras -skip qtwebglplugin -skip qtlocation -skip qtimageformats -skip qtsystems -skip qtconnectivity -skip qtpim -skip qtscxml -skip qtwebengine -skip qtwebsockets -skip qtwayland -skip qtactiveqt -skip qt3d -skip qtwebview -skip qtdocgallery -skip qtscript -skip qtnetworkauth -skip qtenginio -skip qtmacextras -skip qtgraphicaleffects -skip qtx11extras -skip qtsvg -skip qtcharts -skip qtsensors -skip qtquickcontrols2 -skip qtspeech -skip qtremoteobjects -skip qtfeedback -skip qtserialbus -skip qtgamepad -skip qtvirtualkeyboard -skip qtwinextras -skip qtdatavis3d -skip qtquick1 -skip qtcanvas3d -skip qtpurchasing -skip qtxmlpatterns -no-opengl -no-openssl -silent -no-framework
      

      see also https://stackoverflow.com/questions/47848765/qt-compile-mac-os-undefined-symbols-avfmediaplayerservice-avfvideorenderercontro

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            ericlemanissier Eric Lemanissier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes