Always call XInitThreads.
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 19 May 2011 06:34:52 +0000 (08:34 +0200)
committerGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 19 May 2011 06:34:52 +0000 (08:34 +0200)
commit105513a888436ad98e0d85155ea3c09f59a83411
tree30c988d5fe0d16861976ed966b205e5dba38b645
parentc5303517c3bc90ca39c30c064fc6e8df18eb3660
Always call XInitThreads.

Any Qt application that embeds a QSGView needs to call this
because of the threaded renderer. Today applications that
use threaded GL silently fail. In a few weeks time, the
refactor branch will be merged, which will obsolete this
change, so it is a temporary measure to get tests and
examples running.
src/gui/kernel/qapplication_x11.cpp