Initialize the event loop for in-process servers in static builds.
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
Wed, 19 Dec 2012 10:31:54 +0000 (12:31 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 20 Dec 2012 09:12:44 +0000 (10:12 +0100)
commit08e38c1348639bebea7b7288a40701e4dc8d101a
treeae0187b2d2b8992f55a1799bdc53e1ae6b41c178
parente0718f3a05ef83f6a07570c3d62fce424da4bc28
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 <Friedemann.Kleint@digia.com>
src/activeqt/control/qaxserverbase.cpp