Connecting to Data Engine in QT Quick

Marco Martin notmart at gmail.com
Sun Jan 22 15:06:43 UTC 2012


On Sunday 22 January 2012, Shaun Reich wrote:
> On Sat, Jan 21, 2012 at 11:53 PM, Eric Mesa <ericsbinaryworld at gmail.com> 
wrote:
> > Working with QT Quick in QT Creator.  Using QML to do GUI design.
> >  Finally figured out my data engine issues that I emailed about about
> > back in August. So now I want to connect to my data engine.  I found
> > this
> > website: http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#Dat
> > a_Engines but when I put in  "import org.kde.plasma.core 0.1 as
> > PlasmaCore" (no quotes) I get the error "module "org.kde.plasma.core" is
> > not installed"
> 
> that import is only valid if you are making a plasmoid. through a raw
> QML thingy you can't use core components. core components is only
> meant as a plasmoid goodie bag.

nope, plasma components work just fine anywhere.

here the problem is just about the right qml import path not being set

Cheers,
Marco Martin


More information about the Plasma-devel mailing list