Fixed building with latest upstream changes
Added basic implementation for Qt Window events