Add support for QT-5.2.1 (broken)
Add support for window decoration in singlethread implementation