On Wednesday, December 8, 2010, Marco Martin wrote:
> On Thursday 09 December 2010, Aaron J. Seigo wrote:
> > On Wednesday, December 8, 2010, Marco Martin wrote:
> > > import "../../generic/ui/"
> > 
> > i take it that "../../generic/ui/" has to be a string literal in the QML
> > file? and that it doesn't accept URLs (thereby going through the network
> > access implementation)? if so, that would seem to be a major flaw in QML
> > as it currently stands.
> 
> it is possible, however only for full folders.
> now i'm using a way i didn't tought before:
> 
> import "plasmapackage:/ui/MeegoComponents"
> 
> in generic/ui there will be a MeegoComponents subfolder (in this case a
> qmldirs file listing everything is needed) that folder will have a
> fallback. it's better than nothing but still not overly pretty.

and we can always improve the underneath later, what's more important is 
having a non-fugly-api for the plasmoids we have to support forever on.

sounds like a reasonable compromise.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to