Re: qt5 does not build, missing functions?
Scott Hannahs via Fink-users <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
And the r-base build has the same issue. MacOS 13.6 / Xcode 15.0, should I find some definition of HAVE_ATS there and remove it as well? Not sure about the knock-on effects of all this.
devQuartz.c:660:23: error: 'ATSFontFindFromName' is unavailable
atsFont = ATSFontFindFromName(cfFontName, kATSOptionFlagsDefault);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1: note: 'ATSFontFindFromName' has been explicitly marked unavailable here
ATSFontFindFromName(
^
==================================
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Thu Oct 26 21:58:55 2023, 13.0, x86_64
Trees: local/injected local/main stable/main
Xcode.app: 15.0
Xcode command-line tools: 15.0.0.0.1.1694021235
-Scott
> On Jul 4, 2023, at 9:44 AM, Daniel Macks <[email protected]> wrote:
>
> On 7/4/23, 6:30 AM, "Hanspeter Niederstrasser" <[email protected]> wrote:
>>
>> On 6/30/23 6:31 AM, Scott Hannahs via Fink-users wrote:
>>> When running “fink update qt5-mac-qtbase”, I get a compiler error. Seems that “ATSFontNotify” and related functions do not exist anymore. They were deprecated a long time ago. I see that the current qt5-mac release is 5.15.2 and maybe that resolves issues with later OS versions?
>>
>>
>> This is going to force a decision because qt5.15 has a minimum version
>> of macOS 10.13 and I'm not sure if it's perfectly compatible with
>> earlier Qt versions. So can't just make an OS specific release of the
>> qt5-mac-qtbase and siblings packages, but if we put qt5.15 as a new
>> package, we'll have to also split things that use qt5 into different
>> OS-specific packages.
>
> As one quick hack (I know nothing about the qt codebase), in fontdatabases/mac/qcoretextfontdatabase_p.h remove the "#define HAVE_ATS". That doesn't solve anything except stopping invocation of the long-deprecated ATS* APIs. I'm on 10.13, where all the warnings such as:
>
> fontdatabases/mac/qcoretextfontdatabase.mm:724:17: warning: 'ATSFontActivateFromMemory' is deprecated: first deprecated in ma\
> cOS 10.8 - Use CTFontManagerRegisterFontForData() or CGFontCreateWithDataProvider() w/ CTFontManagerRegisterGraphicsFont() [-\
> Wdeprecated-declarations]
> e = ATSFontActivateFromMemory((void *) fontData.constData(), fontData.size(),
> ^
>
> are gone.
>
> dan
>
>
>
>
>
> _______________________________________________
> Fink-users mailing list
> [email protected]
> List archive:
> https://sourceforge.net/p/fink/mailman/fink-users/
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-users
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users