You have forgotten that the plugin is only for making the widget available in Designer and you still need to link with the widget code in your application.