Opened 2 months ago
Closed 2 months ago
#70709 closed defect (fixed)
qt6-qtbase @ 6.7.2_0+openssl: Failed to build qt6-qtbase: command execution failed on macOS 15.0 PB
Reported by: | Knapoc | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | sequoia | Cc: | reneeotten (Renee Otten), markemer (Mark Anderson), razzfazz (Daniel Becker), MaddTheSane (C.W. Betts), breiter (Brian Reiter) |
Port: | qt6-qtbase |
Description
qt6-qtbase fails to build.
Logfile attached.
macOS 15.0 24A335 arm64 Xcode 16.0 16A242
Attachments (1)
Change History (10)
Changed 2 months ago by Knapoc
Attachment: | qt6-qtbase_main.log.tar.gz added |
---|
comment:1 Changed 2 months ago by jmroot (Joshua Root)
Cc: | reneeotten added |
---|---|
Keywords: | sequoia added |
Owner: | set to MarcusCalhoun-Lopez |
Status: | new → assigned |
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt6/qt6-qtbase/work/qtbase-everywhere-src-6.7.2/src/plugins/platforms/cocoa/qcocoascreen.mm:601:37: error: 'CGDisplayCreateImageForRect' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. :info:build 601 | QCFType<CGImageRef> image = CGDisplayCreateImageForRect(displayId, grabRect.toCGRect()); :info:build | ^
comment:2 Changed 2 months ago by markemer (Mark Anderson)
I have a fix for this - it has to do with CGDisplayCreateImageForRect
no longer being available in the macOS 15 SDK. qt5-base will have this same issue. Here is the fix I'm going to put in soon - but it should get you going.
platform darwin 24 { macosx_deployment_target 14.0 }
comment:3 Changed 2 months ago by markemer (Mark Anderson)
Cc: | markemer added |
---|
comment:4 Changed 2 months ago by Knapoc
upstream bug report: https://bugreports.qt.io/browse/QTBUG-128900
comment:5 Changed 2 months ago by markemer (Mark Anderson)
Yeah, we should fix this to start with the platform fix and keep an eye on upstream. I doubt they're gonna fix qt5, since it's a pretty involved fix. I assume they'll have to fix qt6, but we'll have to make sure that only a fixed one tries to install on macOS >= 15
comment:6 Changed 2 months ago by razzfazz (Daniel Becker)
Cc: | razzfazz added |
---|
comment:7 Changed 2 months ago by MaddTheSane (C.W. Betts)
Cc: | MaddTheSane added |
---|
comment:8 Changed 2 months ago by breiter (Brian Reiter)
Cc: | breiter added |
---|
comment:9 Changed 2 months ago by markemer (Mark Anderson)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Build log