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

[REG 6.2.3->6.3.0] qtmultimedia not compiling on macOS10.14

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.3.0 RC
    • 6.3.0 Beta1, 6.3.0 Beta2
    • Multimedia
    • macOS10.14 x64 vm branch 6.3
    • macOS
    • f1babcc79a1693e134b9b12df3b4a5f922d42f89

    Description

      Extract Qt6.3.0 beta1 source package, configure:

      cmake 
      -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ 
      -DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DFEATURE_framework=ON 
      -DPostgreSQL_ROOT=/Applications/Postgres.app/Contents/Versions/9.6/bin/..
       -DQT_BUILD_TESTS=OFF -GNinja /Users/qt/RTA/src-6.3.0 
      -DCMAKE_INSTALL_PREFIX:PATH=/Users/qt/RTA/src-6.3.0/qtbase
      

      Finishes fine, but fails when compiling (cmake --build . --parallel)

      [11724/16026] Building CXX object qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/video/qvideotexturehelper.cpp.o
      [11725/16026] Building OBJCXX object qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/platform/darwin/qdarwinintegration.mm.o
      FAIL 08:58:46
      BLD_LOG> FAILED: qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/platform/darwin/qdarwinintegration.mm.o 
       (Screenshot taken from the desktop is invalid)
      /Applications/Xcode11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGL_SILENCE_DEPRECATION -DMultimedia_EXPORTS -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_MULTIMEDIA_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/Multimedia_autogen/include -I/Users/qt/RTA/src-6.3.0/qtbase/include -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtMultimedia -I/Users/qt/RTA/src-6.3.0/qtbase/lib/QtMultimedia.framework/Headers -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/audio -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/camera -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/controls -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/platform -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/playback -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/recording -I/Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/video -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtMultimedia/6.3.0 -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtMultimedia/6.3.0/QtMultimedia -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtCore -I/Users/qt/RTA/src-6.3.0/qtbase/lib/QtCore.framework/Headers -I/Users/qt/RTA/src-6.3.0/qtbase/mkspecs/macx-clang -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtGui -I/Users/qt/RTA/src-6.3.0/qtbase/lib/QtGui.framework/Headers -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtNetwork -I/Users/qt/RTA/src-6.3.0/qtbase/lib/QtNetwork.framework/Headers -I/Users/qt/RTA/src-6.3.0/qtbase/src/corelib -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtCore/6.3.0 -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtCore/6.3.0/QtCore -I/Users/qt/RTA/src-6.3.0/qtbase/src/gui -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtGui/6.3.0 -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtGui/6.3.0/QtGui -x objective-c++ -DNDEBUG -O2 -isysroot /Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -fapplication-extension -std=c++17 -Winvalid-pch -Xclang -include-pch -Xclang /Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/cmake_pch.objcxx.hxx.pch -Xclang -include -Xclang /Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/cmake_pch.objcxx.hxx -MD -MT qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/platform/darwin/qdarwinintegration.mm.o -MF qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/platform/darwin/qdarwinintegration.mm.o.d -o qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/platform/darwin/qdarwinintegration.mm.o -c /Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/platform/darwin/qdarwinintegration.mm
      /Users/qt/RTA/src-6.3.0/qtmultimedia/src/multimedia/platform/darwin/qdarwinintegration.mm:59:55: error: use of undeclared identifier 'kCMVideoCodecType_VP9'
              VTRegisterSupplementalVideoDecoderIfAvailable(kCMVideoCodecType_VP9);
                                                            ^
      1 error generated.
      

      Build works on macOS10.15 x64 and macOS11.0 x64.

      Broken in alpha also.

      Attachments

        1. 630_macos1014.txt
          116 kB
          Johanna Äijälä
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes