qt: Fix build against Qt4
* qt/main.cpp: Ifdef out QWindow usage. * qt/pinentrydialog.cpp: Only call the raiseWindow delayed when using Qt5.