I noticed that to successfully install the plasmoid the kdelibs5-dev package is required. Otherwise CMake throws an error and doesn't compile source code. Jakub 15:56, 27 April 2009 (UTC)
Maybe I have messed something up, but for me copying applet's shared object file (.so) to $KDEDIR/lib will not work (plasma gives: "Could not find requested component: applet_name"). If I copy same file to $KDEDIR/lib/kde4 plasma will find that.
In the "The .desktop file" section, the X-KDE-ServiceTypes=Plasma/Applet is right? Because, if you look at the source code of the default widgets of KDE4.1 you see: ServiceTypes=Plasma/Applet I will edit the page to conform this.
--Leokolln 00:28, 26 September 2008 (CEST)
Everything works except the install, which puts the results in /usr/local. KDE does not search those directories. A small section on how to modify the cmake input file appropriately would be appreciated.
The boundingRect() function tells plasma the actual size of the plasmoid. This is important because we need to know how much space is taken on the screen.
|If you have issues with your plasmoid leaving pixels behind when dragging, this is usually a result of an incorrect boundingRect()|
There are some infos about a QRectF boundingRect() method, but no such method defined in the actual code, is that normal ?
maybe setContentSize would be better than resize there... Chani 15:44, 11 February 2008 (CET)