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

[REG6.3.0beta2->beta3] some multimedia examples not compiling on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.2.5, 6.3.0 RC
    • 6.2.4, 6.3.0 Beta3
    • Multimedia
    • macOS11.6
    • macOS
    • fa8e9a39bf (qt/qtmultimedia/dev) 0349cf4fb8 (qt/qtmultimedia/6.2) 0790918ef8 (qt/qtmultimedia/6.3) 0349cf4fb8 (qt/tqtc-qtmultimedia/6.2) 0790918ef8 (qt/tqtc-qtmultimedia/6.3) fa8e9a39bf (qt/tqtc-qtmultimedia/dev) 0790918ef8 (qt/qtmultimedia/6.3.0)

    Description

      Install Qt6.3.0 beta3 macOS binaries (/Users/qt/RTA/Qt_6.3.0/) take for example multimedia/declarative-camera example.

      Configure:

      /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/bin/qt-cmake -S /Users/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/multimedia/declarative-camera -B /Users/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/multimedia/declarative-camera/bld_macos -GNinja
      

      Finished fine, compile with cmake --build . --parallel, fails:

      [7/7] Linking CXX executable declarative-camera.app/Contents/MacOS/declarative-camera
      FAILED: declarative-camera.app/Contents/MacOS/declarative-camera 
      : && /usr/bin/clang++ -isysroot /Applications/Xcode12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/declarative-camera.dir/declarative-camera_autogen/mocs_compilation.cpp.o CMakeFiles/declarative-camera.dir/qmlcamera.cpp.o CMakeFiles/declarative-camera.dir/bld_macos/.rcc/qrc_declarative-camera.cpp.o -o declarative-camera.app/Contents/MacOS/declarative-camera  -Wl,-rpath,/Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtMultimedia.framework/Versions/A/QtMultimedia  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtQuick.framework/Versions/A/QtQuick  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtQmlModels.framework/Versions/A/QtQmlModels  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtQml.framework/Versions/A/QtQml  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtNetwork.framework/Versions/A/QtNetwork  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtOpenGL.framework/Versions/A/QtOpenGL  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtGui.framework/Versions/A/QtGui  /Users/qt/RTA/Qt_6.3.0/6.3.0/macos/lib/QtCore.framework/Versions/A/QtCore  -framework DiskArbitration  -framework IOKit  -framework  OpenGL  -framework  AGL  -framework AppKit  -framework ImageIO  -framework Metal && cd /Users/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/multimedia/declarative-camera/bld_macos && codesign --sign - --entitlements /Users/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/multimedia/declarative-camera/declarative-camera.entitlements /Users/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/multimedia/declarative-camera/bld_macos/declarative-camera.app
      Failed to parse entitlements: AMFIUnserializeXML: syntax error near line 1
      ninja: build stopped: subcommand failed.
      

      Also following examples fail:

      Examples/Qt-6.3.0/multimedia/declarative-camera
      Examples/Qt-6.3.0/multimedia/audiorecorder
      Examples/Qt-6.3.0/multimedia/video/qmlvideo
      Examples/Qt-6.3.0/multimedia/video/recorder

      Examples were launching on beta2 on macOS.

      Works with beta3 on Ubuntu20.04 and MSVC2019 on Windows

      Attachments

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

        Activity

          People

            dorisverria Doris Verria
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes