I missed the EXPORT macro. I just have to include it into the plugin declaration class right?

Not into the base QWidget class, at least documentation seems telling this

Regarding the plugin debugging i found this:
set QT-DEBUG-PLUGINS=1 in your shell.
But in Win32 I really don't know how to log this or where to insert it... Perhaps using qmake manually by console?