Put OS information in Help > About > Version ?
Pavel Sanda
sanda at lyx.org
Tue Dec 6 21:12:35 UTC 2022
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().
Pavel
More information about the lyx-devel
mailing list