os-release parser?
Volker Krause
vkrause at kde.org
Wed Aug 22 15:09:21 BST 2018
On Wednesday, 22 August 2018 14:14:12 CEST Harald Sitter wrote:
> konnichiwa
>
> A while ago I wrote a class to parse /etc/os-release. Should we maybe
> add this functionality to some framework? If so, which?
>
> https://cgit.kde.org/kinfocenter.git/tree/Modules/about-distro/src/OSRelease
> .cpp
QSysInfo reads that file already (see qglobal.cpp), it's how KUserFeedback
gets to that data. It does not cover all possible fields though.
Regards,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180822/f4c993b4/attachment.sig>
More information about the Kde-frameworks-devel
mailing list