Qt5/Qt4 compatibility

Thought you might be interested in having a widget that is both Qt5 as well as Qt4 compatible.  Great work by the way, thanks for sharing :)
Fixed the #includes as discussed.