tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
masOS 15.0 qt5-qtbase build failure
Please review this proposed patch. It should not have any effect on
other versions, but maybe there's another approach? I suspect upstream
will support ScreenCaptureKit soon, so this should be temporary.
--- Makefile.common 2 Sep 2024 20:52:58 -0000 1.55
+++ Makefile.common 29 Nov 2024 01:12:48 -0000
@@ -38,6 +38,14 @@
.include "../../x11/qt5/Makefile.common"
+# Qt 5.15.16: Check if this is still necessary in later versions
+# qcocoascreen.mm:607:67: error: 'CGDisplayCreateImageForRect' is
unavailable:
+# obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
+# https://github.com/macports/macports-ports/pull/25748
+.if ${OPSYS_VERSION} >= 150000
+MAKE_ENV+= MACOSX_DEPLOYMENT_TARGET=14.0
+.endif
+
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
--
Life is a game. Play hard. Play fair. Have fun.
Home |
Main Index |
Thread Index |
Old Index