Fix compilation with Qt-5.2.1

QApplication is part of Qt.widgets.

Without that compilation fails with many `"QApplication" not found` errors.