D25394: support Qt File selectors in KPackage

Marco Martin noreply at phabricator.kde.org
Tue Nov 19 11:05:36 GMT 2019


mart created this revision.
mart added a reviewer: Plasma.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
mart requested review of this revision.

REVISION 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

REPOSITORY
  R290 KPackage

BRANCH
  phab/selectors

REVISION DETAIL
  https://phabricator.kde.org/D25394

AFFECTED FILES
  src/kpackage/package.cpp
  src/kpackage/private/package_p.h

To: mart, #plasma
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191119/e9fcca61/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list