experimental support for rcc files loading in kpackage
ClosedPublic

Authored by mart on Dec 5 2017, 11:55 AM.

Details

Summary

support for the contents/ directory of kpackage to be
compressed in an rcc file, new cmake macro
kpackage_install_bundled_package which generates it,
the old install package is unaltered for better retrocompatibility

Test Plan

most of plasma ui works correctly, plasmoids can be migrated
safely, some other things may still require adapting as
setSource(QUrl::fromLocalFile(package.filePath("mainscript"))
must be changed to
setSource(package.fileUrl("mainScript"))

Diff Detail

Repository
R290 KPackage
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart created this revision.Dec 5 2017, 11:55 AM
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptDec 5 2017, 11:55 AM
Restricted Application added subscribers: Frameworks, plasma-devel. · View Herald Transcript
mart requested review of this revision.Dec 5 2017, 11:55 AM
apol added a subscriber: apol.Dec 10 2017, 11:26 PM

+1

What's the plan here?

src/kpackage/package.cpp
550

QLatin1Char(':') + ...

davidedmundson requested changes to this revision.Dec 11 2017, 9:18 AM
davidedmundson added a subscriber: davidedmundson.

Needs tests and docs

src/kpackage/package.cpp
407

construct

This revision now requires changes to proceed.Dec 11 2017, 9:18 AM
mart updated this revision to Diff 23864.Dec 13 2017, 1:19 PM
  • ad an autotest
This revision was automatically updated to reflect the committed changes.