Hello,

I'm writing an application where the main window contains a QML widget. I'd 
like to be able to access certain features of KDE from QML, mainly i18n and 
KIcons.

I came across a mention of KDeclarative in the localization tutorial, but the 
description (under Ubuntu 13.04) for  libkdeclarative5 says: "This package 
contains experimental software and should not be used in production 
environment"

In the Plasma tutorial [1], there is mention of extensions that let me using 
Q/KIcons and localization. I tried adding the path used by qmlview, and it 
worked, except for the i18n() function, which doesn't give an error but just 
returns an empty string. Is this something I could use, or is it only for 
plasma widgets, not regular KDE applications?

So what is the best way to access localization features and KIcons from QML? 
I'm using a C++ backend and window to contain the QML view, so if I need to, I 
could provide services through that, but I'm not sure how.

[1] http://techbase.kde.org/Development/Tutorials/Plasma/QML/GettingStarted

Thank you,
-- 
Michael Spencer

https://iBeliever.github.io

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to