Added compability with qt4
Merge branch 'Issue3'

Adding compability with qt4