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

Qt 5.12.5 for iOS build failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.7
    • 5.12.5
    • Multimedia
    • None
    • OSX 14.10.6 ; Xcode 11.0 ; Qt 5.12.5
    • iOS/tvOS/watchOS
    • d381fb9823dac7e1e19b2b2af6b57ddf1306346a (qt/qtmultimedia/5.12)

    Description

      ./configure -opensource -confirm-license -xplatform macx-ios-clang -release -sdk iphoneos --prefix=/Users/sergv/Qt/5.12.5/iphoneos -skip webengine -nomake tools -nomake tests -nomake examples
      make && make install
      

      Compilation errors:

      avfmediaassetwriter.mm:385:9: error: conversion from '::AVFScopedPointer<AVCaptureAudioDataOutput>' to 'bool' is ambiguous
          if (m_audioOutput && [captureSession canAddOutput:m_audioOutput]) {
              ^~~~~~~~~~~~~
      
      avfmediaassetwriter.mm:403:5: error: conversion from '::AVFScopedPointer<AVAssetWriter>' to 'bool' is ambiguous
          Q_ASSERT(m_assetWriter);
      
      avfmediaassetwriter.mm:423:9: error: conversion from '::AVFScopedPointer<AVCaptureAudioDataOutput>' to 'bool' is ambiguous
          if (m_audioOutput) {
      
      avfmediaassetwriter.mm:451:9: error: conversion from '::AVFScopedPointer<AVCaptureAudioDataOutput>' to 'bool' is ambiguous
          if (m_audioOutput) {
      

      Workaround:

      if (m_audioOutput) {
      

      change to

      if (m_audioOutput != nullptr) {
      

      and so on.

      Attachments

        Issue Links

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

          Activity

            People

              valentyn.doroshchuk Valentyn Doroshchuk
              sergeyvl Sergey Vlasov
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes