On Thursday, April 25, 2013 01:02:57 AM Sebastian Kügler wrote: > On Wednesday, April 24, 2013 15:31:39 Michael Spencer wrote: > > > > So what is the best way to access localization features and KIcons > > > > from > > > > QML? > > > > > > Using kdeclarative. > > > > What about the description of the package as provided by Ubuntu, saying > > that it is not suitable for a production environment? Where is > > documentation for KDeclarative? I've tried searching the API site but it > > can't find KDeclarative. > > Don't worry about that. KDeclarative is "done" in terms of Plasma 1 / Qt4. > We use it in a bunch of applications (ktouch, plasma desktop, active, > mediacenter). While we never committed to real BIC (we weren't confident to > keep it working like that, as it uses internal Qt stuff) it's just very > unlikely that we'll change it in KDE SC 4 version. We've already ported it > in parts to Frameworks 5, and have talked about its future in the past > sprint. From the API user point of view, we haven't figured out yet if how > we could add global functions, so the worst case scenario in porting might > be s/i18n(/KDE.i18n(/ or somesuch (don't pin me on the API yet, we'll > provide a script). > > Long story short, as Albert already mentioned: Use kdeclarative. :)
Thanks for the explanation, I was worried about using it in a public released application, so that helps a lot knowing why the message exists and why there is no documentation for it. -- Michael Spencer https://iBeliever.github.io >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
