Skip to content

Can't build Qt on macOS as part of TeleSculptor build #539

@tfiner

Description

@tfiner

After waiting for all the 3rd party code to be downloaded and built, Qt errors out with:

./qiosurfacegraphicsbuffer.h:54:32: error: use of undeclared identifier 'CGColorSpaceRef'
    void setColorSpace(QCFType<CGColorSpaceRef> colorSpace);

qiosurfacegraphicsbuffer.mm:90:32: error: out-of-line definition of 'setColorSpace' does not match any declaration in 'QIOSurfaceGraphicsBuffer'
void QIOSurfaceGraphicsBuffer::setColorSpace(QCFType<CGColorSpaceRef> colorSpace)
                               ^~~~~~~~~~~~~

This looks like it is a Qt issue with macOS, there's another bug for this exact error on the vcpkg repo. They fixed it with a patch.

The latest commit is 84821ca. This is on macOS 12.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions