Initialize the event loop for in-process servers in static builds.
Initialize the event loop for in-process servers in static builds.

The event loop doesn't get initialized properly until first time
processEvents() is called. An in-process control that links Qt
statically constructs its own QApplication instance, but nothing
calls processEvents() on it to kickstart event processing, so
the control is unresponsive until something else causes that.

Fixed by explicitly calling processEvents() once after QApplication
instance is created.

Task-number: QTBUG-28716
Change-Id: Id50054082c75d9dce2fb12f0d44fa36601a8fc39
Reviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@digia.com>

kobolabs/qtactiveqt,xsens/qtactiveqt,xsens/qtactiveqt,kobolabs/qtactiveqt