Store plugin data in qt5's resource system
Details
Details
- Reviewers
mwolff apol kfunk - Commits
- R32:fce3d10b1f6e: make plugins load installed data from resources if not found in filesystem
R33:ae3e0cd4168f: make plugins load installed data from resources if not found in filesystem
R32:ae3e0cd4168f: make plugins load installed data from resources if not found in filesystem
Compile, remove file from 'regular' system locations, ensure related feature still functions
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
@kfunk Yes..
Look at line 130 there in readConfigFile
xml_file = QStringLiteral(":/kxmlgui5/") + componentName + QLatin1Char('/') + filename;
Comment Actions
Yes, as of the last KF5 release.
This could solve quite some issues regarding XDG paths lookup on OS X and Windows (that's why it was introduced, in fact).