support Qt File selectors in KPackage
ClosedPublic

Authored by mart on Nov 19 2019, 11:05 AM.

Details

Summary

support for things like contents/ui/+phone/main.qml
right now in qml based packages qml file selectors are supported as
there is always one internal for qml, for every file, *except*
main.qml or any loaded directly by kpackage.
this gives the same behavior between main.qml and every other file
in the package

Test Plan

package without selector folders works exactly the same and every plasmoid
kcm and so on is loaded fine.
if one adds for instance in a kcm package under ui the subfolder +phone with a
main.qml, then export QT_FILE_SELECTORS=phone, that alternative qml file will be
loaded instead

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.Nov 19 2019, 11:05 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptNov 19 2019, 11:05 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mart requested review of this revision.Nov 19 2019, 11:05 AM
mart updated this revision to Diff 69980.Nov 19 2019, 11:09 AM
  • directly delete
broulik accepted this revision.Nov 19 2019, 11:12 AM
This revision is now accepted and ready to land.Nov 19 2019, 11:12 AM
This revision was automatically updated to reflect the committed changes.