<table><tr><td style="">mart created this revision.<br />mart added a reviewer: Plasma.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />mart requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25394">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>support for things like contents/ui/+phone/main.qml<br />
right now in qml based packages qml file selectors are supported as<br />
there is always one internal for qml, for every file, *except*<br />
main.qml or any loaded directly by kpackage.<br />
this gives the same behavior between main.qml and every other file<br />
in the package</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>package without selector folders works exactly the same and every plasmoid<br />
kcm and so on is loaded fine.<br />
if one adds for instance in a kcm package under ui the subfolder +phone with a <br />
main.qml, then export QT_FILE_SELECTORS=phone, that alternative qml file will be <br />
loaded instead</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R290 KPackage</div></div></div><br /><div><strong>BRANCH</strong><div><div>phab/selectors</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25394">https://phabricator.kde.org/D25394</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kpackage/package.cpp<br />
src/kpackage/private/package_p.h</div></div></div><br /><div><strong>To: </strong>mart, Plasma<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>