Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.3
-
None
Description
The new released open source version of Qt 5.15.3 does not compile on macOS 11.6.4 with Xcode 13.2.1 I got the following errors
// In file included from qiosurfacegraphicsbuffer.mm:40: ./qiosurfacegraphicsbuffer.h:54:32: error: unknown type name 'CGColorSpaceRef'; did you mean 'QColorSpace'? void setColorSpace(QCFType<CGColorSpaceRef> colorSpace); ^~~~~~~~~~~~~~~ QColorSpace ../../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:2090:1: note: 'QColorSpace' declared here QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER) ^ ../../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:178:24: note: expanded from macro 'QT_FOR_EACH_STATIC_GUI_CLASS' F(QColorSpace, 87, QColorSpace) \ ^ qiosurfacegraphicsbuffer.mm:90:32: error: out-of-line definition of 'setColorSpace' does not match any declaration in 'QIOSurfaceGraphicsBuffer' void QIOSurfaceGraphicsBuffer::setColorSpace(QCFType<CGColorSpaceRef> colorSpace) ^~~~~~~~~~~~~ ./qiosurfacegraphicsbuffer.h:54:24: note: type of 1st parameter of member declaration does not match definition ('QCFType<QColorSpace>' vs 'QCFType<CGColorSpaceRef>') void setColorSpace(QCFType<CGColorSpaceRef> colorSpace);