fixed #11 compile against Qt 5 (Qt4 and Qt5 supported and waguely tested)