Registered Member
|
Hi everybody,
I learn to create hello-javascript plasmoid by javascript. I do follow these step in :http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/GettingStarted. My tree directory is:
But when I try:
The problem is: Could not find requested component: hello-javascript My system is KDE 4.4, I installed: plasma-addons, plasma-addons-devel, qtscript. Please, help me to fix this problem!
Last edited by banhbaochay on Thu Dec 09, 2010 11:05 am, edited 1 time in total.
|
Administrator
|
Please try running "kbuildsycoca" and post the contents of metadata.desktop please.
Also, have you installed this tree into the appropriate directory under $HOME? ( using plasmapkg )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi bcooksley,
Thank you for reply. My system hasn't got kbuildsycoca, output of kbuildsycoca4 is:
My metadata.desktop is:
I haven't installed using plasmapkg because in tutorial, I read that "you can testing without installing by run plasmoidviewer" However, I try to install by plasmapkg, the result does not change: "Could not find..." |
Administrator
|
I gather you are following http://techbase.kde.org/Development/Tut ... ingStarted
If so, are you passing the full path to your Plasmoid ( ie. where the folder where metadata.desktop is ) to plasmoidviewer?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I read and did follow the tutorial. In my tree directory I post in #1, I change to hello-javascript directory for running plasmoidviewer
|
Administrator
|
You need to run "plasmoidviewer ." in this case. Make sure to keep the "." in the command.
You only use the name if you have installed it. As you haven't, you need to supply a path, which the "." will (it supplies the current directory)
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Oopp, it's my fault, I always try `plasmoidviewer hello-javascript`
Many thanks to you It's exactly problem with me. I try `plasmoidviewer .` and it 's solved. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient