Revert "Merge pull request #29 from Xele02/qtwindow"

This reverts commit 170a45ef4f2d92f290bdaa1d680c3bbbb6c5edbb, reversing
changes made to 657f5d32f4f2f38d711bbc144bf8667cf3141653.
Fix Qt native file and remove redundancies.
Merge pull request #30 from xsacha/master

Qt revert + minimal changes