[Development] Qt TextToSpeech: Adding dependency to Qt Multimedia - ok?
axel.spoerl at qt.io
Mon Jan 30 16:50:17 CET 2023
QtSpeech will not work on all platforms without Qt Multimedia, so this dependency makes sense IMO.
Von: Development <development-bounces at qt-project.org> im Auftrag von Volker Hilsheimer via Development <development at qt-project.org>
Gesendet: Montag, 30. Januar 2023 16:45
An: Kai Köhne <Kai.Koehne at qt.io>
Cc: development at qt-project.org <development at qt-project.org>
Betreff: Re: [Development] Qt TextToSpeech: Adding dependency to Qt Multimedia - ok?
> On 23 Jan 2023, at 16:07, Kai Köhne <Kai.Koehne at qt.io> wrote:
>> -----Original Message-----
>> From: Development <development-bounces at qt-project.org> On Behalf Of
>> This is a binary compatibility breakage of sorts. Applications that were linked
>> against Qt 6.4 or Qt 6.5, and want to run against Qt 6.6 won’t work unless Qt
>> Multimedia is present.
> This doesn't violate the binary compatibility guarantee per se, IMO. The guarantee is against the Qt framework itself, not against individual libraries in it. We also don't allow upgrading individual Qt modules, for instance.
To clarify, the problem is not upgrading an individual module here, but that an application running against Qt 6.6 will require Qt Multimedia, while an application running against Qt 6.4 or Qt 6.5 will not.
But, I agree that we can assume that on systems where binary compatibility matters, all Qt modules are installed (or get installed when upgrading).
> Anyhow, you could consider making the dependency optional at configure time. Then users who don't need it could still configure without qtmultimedia - no idea whether this is worth the hassle though.
Ok. Given the footprint of Qt TextToSpeech, I don’t think it’s worth the hassle to make this configurable.
Development mailing list
Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development