Hey all,

I've been following the Getting Started tutorial on techbase and it works great.
Since then, I've been trying to use QHttp and other Qt classes in my
main.js file but the plasmoid fails. I'm trying to download an xml
file such as in this amarok script example:
http://amarok.kde.org/forum/index.php?topic=17084.0

Something like that:


Importer.loadQtBinding( "qt.core" );
Importer.loadQtBinding( "qt.xml" );

xmlUrl = new QUrl( "http://ws.audioscrobbler.com"; );
http   = new QHttp;

Any idea why it fails? By the way, how do I get any debugging? When I
do "plasmoidviewer ." I just get the plasmoid with the "Script
initialization failed" message, nothing more.

Thanks in advance

Pat
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to