On Tue, Dec 06, 2022 at 10:19:18PM +0100, Stephan Witt wrote: > Am 06.12.2022 um 22:12 schrieb Pavel Sanda <sa...@lyx.org>: > > > > On Tue, Dec 06, 2022 at 12:25:53PM -0500, Scott Kostyshak wrote: > >>>>>> For a macOS user, can we tell whether they are on Ventura or not? > >>>>> > >>>>> I???ll try QSysInfo::productVersion() ??? > >>>> > >>>> This will show up like that: > >>>> > >>>> <Bildschirmfoto 2022-12-06 um 18.01.27.jpg> > >>>> > >>>> With Ventura it should be: 13.0 > >>> > >>> This would be the patch w/o I18N ??? > >> > >> Tested and works well here! I would say commit (unless someone else > >> disagrees). > >> > >> For me, the version showed up as "22.04". I actually expected my kernel > >> version to show up. > > > > I guess that's what QSysInfo::kernelType() is for. > > Anyway quickly checking members of QSysInfo you might actually > > want to use QSysInfo::prettyProductName(). > > Indeed. This prints "macOS Mojave (10.14)“ here.
Ah yes, that is nice! Thanks, Stephan and Pavel. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel