components components components
Marco Martin
notmart at gmail.com
Mon Oct 31 18:08:37 UTC 2011
On Monday 31 October 2011, Aaron J. Seigo wrote:
> > * how depend from it? they are now in master, so kde 4.8. pa2 will
> > probably have to depend still from 4.7 -> i guess another kde-runtime
> > branch :/
>
> that would really suck; at this point i'd almost like to see PA2 be just a
> patch release with the various improvements and fixes we're making in
> performance and stability and focus PA3 on a KDE Platform + Workspaces 4.8
> based release (or push hard for Frameworks 5?)
at this point agree: recommendations, speedup work and work on the nepomuk
models is quite a lot already indeed for me..
it really sucks for me not having components tough because it slows things so
much (and requires a *lot* of duplication in the qml inside plasma-mobile)
as general roadmap, i would see a pa3 around more features and preparing work
for frameworks (like again, using components everywhere ;)
and then no more, pa5 all around frameworks, that means an hell lot of work
has to happen in libplasma2
>
> this is an installation issue, right? could we not install two copies of
> things, and just have one copy (and therefore no code-duplication) in the
> git repo? then the resolution could be automagic and hidden from the QML
> entirely, just as we do for in packages.
eerr, not so fast ;)
in packages, what i can fallback is a single file -only- when is accessed with
plasmoid.package or the protocol, so for Image url, for importing javascript
files (that are imported one by one) or in case of qml files, they come always
in blocks, that's how the import keyword works.
so, in a plasmoid that has some files specific for say, tablets i cann do
import "plasmapackage:/ui/foo" 1.0
in this case the whole foo directory is imported if it has a qmldir file
listing each qml file.
it's not as pretty and smooth as i would love, but already lets do some neat
things.
in the case of components, they are imported all in blocks, so
import org.kde.plasma.components 0.1 imports the whole giant qml files set
necomes availabel
and that needs a qmldir in that filder that lists each one
that's why i cannot fallback so graceously and probably need some hack on the
qmldir file
Cheers,
Marco Martin
More information about the Active
mailing list