Does this tutorial still work?
I've tried doing this several times, laying out the files exactly as described. Everything seems to compile fine. When I drag the widget to the desktop nothing happens. When I run plasmawindowed org.kde.tutorial I get a small white window. The only output it has is: org.kde.plasma: requesting config for "Unknown" without a containment!