On Sun, Jan 22, 2012 at 7:27 AM, Shaun Reich <span dir="ltr"><<a href="mailto:shaun.reich@kdemail.net">shaun.reich@kdemail.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Sat, Jan 21, 2012 at 11:53 PM, Eric Mesa <<a href="mailto:ericsbinaryworld@gmail.com">ericsbinaryworld@gmail.com</a>> wrote:<br>
> Working with QT Quick in QT Creator.  Using QML to do GUI design.  Finally<br>
> figured out my data engine issues that I emailed about about back in August.<br>
>  So now I want to connect to my data engine.  I found this<br>
> website: <a href="http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#Data_Engines" target="_blank">http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#Data_Engines</a><br>
> but when I put in  "import org.kde.plasma.core 0.1 as PlasmaCore" (no<br>
> quotes) I get the error "module "org.kde.plasma.core" is not installed"<br>
<br>
</div>that import is only valid if you are making a plasmoid. through a raw<br>
QML thingy you can't use core components. core components is only<br>
meant as a plasmoid goodie bag.<br>
<br>
you can still use org.kde.plasmacomponents afik though. but if you're<br>
using a dataengine in the first place...and a QML applet..i have to<br>
ask why it isn't a plasmoid in the first place. probably make things a<br>
lot easier...<br>
<br>
as for 'packages', the imports are in<br>
kde-runtime/plasma/declarativeimports, so having that should be fine.<br><br></blockquote><div>I have to correct you there :)</div><div>You can perfectly use the plasma imports of you let QML know about the path.</div><div>

Just add "QML_IMPORT_PATH += /path/to/plasmacomponents" (lookup the right path please, don't know it out of my head) and you can start using plasmacomponents in your qml app. </div><div><br></div><div>It's that easy!</div>

</div><br>