Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.5
-
None
-
OSX 14.10.6 ; Xcode 11.0 ; Qt 5.12.5
-
-
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
- relates to
-
QTBUG-79686 compilation fails on ambiguous conversion to bool
- Closed