[MacPorts] #70758: qt5-qtbase @5.15.15: error: 'CGDisplayCreateImageForRect' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.

MacPorts noreply at macports.org
Tue Sep 17 15:00:24 UTC 2024


#70758: qt5-qtbase @5.15.15: error: 'CGDisplayCreateImageForRect' is unavailable:
obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
---------------------+------------------------
 Reporter:  piru     |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.10.1
 Keywords:  sequoia  |       Port:  qt5-qtbase
---------------------+------------------------
 {{{
 :info:build qcocoascreen.mm:607:67: error: 'CGDisplayCreateImageForRect'
 is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit
 instead.
 :info:build   607 |         QImage displayImage =
 qt_mac_toQImage(QCFType<CGImageRef>(CGDisplayCreateImageForRect(display,
 displayLocalGrabBounds.toCGRect())));
 :info:build       |
 ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:391:33:
 note: 'CGDisplayCreateImageForRect' has been explicitly marked unavailable
 here
 :info:build   391 | CG_EXTERN CGImageRef __nullable
 CGDisplayCreateImageForRect(
 :info:build       |
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70758>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list