Skip to content

Instantly share code, notes, and snippets.

@R0GERIUS
Created November 8, 2021 22:40
Show Gist options
  • Save R0GERIUS/a2d62e21995e732b9fe510efce71965d to your computer and use it in GitHub Desktop.
Save R0GERIUS/a2d62e21995e732b9fe510efce71965d to your computer and use it in GitHub Desktop.
Qt5 patch for XCode 13 compilation
--- a/qtbase/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h
+++ b/qtbase/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h
@@ -43,6 +43,8 @@
#include <qpa/qplatformgraphicsbuffer.h>
#include <private/qcore_mac_p.h>
+#include <CoreGraphics/CGColorSpace.h>
+
QT_BEGIN_NAMESPACE
class QIOSurfaceGraphicsBuffer : public QPlatformGraphicsBuffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment