Bug 492875

Summary: Add KAboutData function to read the about information from the metadata XML file
Product: [Frameworks and Libraries] frameworks-kcoreaddons Reporter: Murz <MurzNN>
Component: generalAssignee: Michael Pyne <mpyne>
Status: REPORTED ---    
Severity: wishlist CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Murz 2024-09-09 11:37:19 UTC
SUMMARY

All the apps should provide the AppStream Metadata file (appdata.xml) file with a description, that contains the about information too.

But when we're creating the about dialog, in most cases we have to put the same information there, but in code. 

And it's pretty problematic to update the information and keep in sync in both places.

So, the idea is to create a function like `KAboutData::setDataFromFile(string filePath)` that will read the XML file and fill the all values from there.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13