Bug 492875 - Add KAboutData function to read the about information from the metadata XML file
Summary: Add KAboutData function to read the about information from the metadata XML file
Status: REPORTED
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-09 11:37 UTC by Murz
Modified: 2024-09-09 11:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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