Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tfiner opened this issue Jan 6, 2022 · 1 comment
Open

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

tfiner opened this issue Jan 6, 2022 · 1 comment

Comments

@tfiner
Copy link

tfiner commented Jan 6, 2022

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.

@mleotta
Copy link
Member

mleotta commented Jan 7, 2022

If you have a patch for Qt we can apply it in Fletch. TeleSculptor uses Fletch to build Qt and other third party packages. Fletch supports applying patches before building (though the patching mechanism is a bit crude with CMake, you need to copy the whole file to be patched).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants