[Development] Qt TextToSpeech: Adding dependency to Qt Multimedia - ok?
volker.hilsheimer at qt.io
Mon Jan 30 16:45:42 CET 2023
> 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.
More information about the Development